home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
Sound Siphon
/
Sound Siphon.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1994-09-30
|
145KB
|
2,638 lines
# near model CODE resource
# jump table entries: 80-85 (6 of them)
export_14:
00000000 4E56 0000 link A6, 0
00000004 A9F4 syscall ExitToShell
00000006 4E5E unlink A6
00000008 4E75 rts
0000000A 8550 or.w [A0], D2
0000000C 616E bsr +0x70 /* 0000007C */
0000000E 6963 bvs +0x65 /* 00000073 */
00000010 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000014 0000 486D ori.b D0, 0x6D /* 'm' */
00000018 FFFC .extension 0xFFC // unimplemented
0000001A A86E syscall InitGraf
0000001C A8FE syscall InitFonts
0000001E A912 syscall InitWindows
00000020 A930 syscall InitMenus
00000022 A9CC syscall TEInit
00000024 486D 0092 pea.l [A5 + 0x92 /* export_14 */]
00000028 A97B syscall InitDialogs
0000002A A850 syscall InitCursor
0000002C 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000032 201F move.l D0, [A7]+
00000034 A032 syscall FlushEvents
00000036 A036 syscall MoreMasters
00000038 A036 syscall MoreMasters
0000003A 4E5E unlink A6
0000003C 4E75 rts
0000003E 8B49 6E69 pack -[A5], -[A1], 0x6E69
00000042 7454 moveq.l D2, 0x54
00000044 6F6F ble +0x71 /* 000000B5 */
00000046 6C62 bge +0x64 /* 000000AA */
00000048 6F78 ble +0x7A /* 000000C2 */
0000004A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000004C-00000050
fn0000004C:
0000004C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000004C-00000050
fn0000004C: // (misaligned)
0000004E FFFC .extension 0xFFC // unimplemented
00000050 422D FD64 clr.b [A5 - 0x29C]
00000054 422D FD65 clr.b [A5 - 0x29B]
00000058 4267 clr.w -[A7]
0000005A 2F3C 6576 6E74 move.l -[A7], 0x65766E74 /* 'evnt' */
00000060 486E FFFC pea.l [A6 - 0x4]
00000064 4EBA 162A jsr [PC + 0x162A /* 00001690 */]
00000068 4A5F tst.w [A7]+
0000006A 57C0 seq D0
0000006C 4400 neg.b D0
0000006E 1B40 FD66 move.b [A5 - 0x29A], D0
00000072 42AD FD80 clr.l [A5 - 0x280]
00000076 4227 clr.b -[A7]
00000078 4EBA 0EA4 jsr [PC + 0xEA4 /* 00000F1E */]
fn0000007C:
0000007C 101F move.b D0, [A7]+
0000007E 4E5E unlink A6
00000080 4E75 rts
00000082 8B49 6E69 pack -[A5], -[A1], 0x6E69
00000086 7447 moveq.l D2, 0x47
00000088 6C6F bge +0x71 /* 000000F9 */
0000008A 6261 bhi +0x63 /* 000000ED */
0000008C 6C73 bge +0x75 /* 00000101 */
0000008E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000090-00000096
fn00000090:
00000090 4E56 0000 link A6, 0
00000094 42A7 clr.l -[A7]
// end alternate branch 00000090-00000096
fn00000090: // (misaligned)
00000092 0000 42A7 ori.b D0, 0xA7
00000096 3F3C 0080 move.w -[A7], 0x80
0000009A A9BF syscall GetRMenu
0000009C 2B5F FD78 move.l [A5 - 0x288], [A7]+
000000A0 2F2D FD78 move.l -[A7], [A5 - 0x288]
000000A4 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
label000000AA:
000000AA A94D syscall AppendResMenu/AddResMenu
000000AC 2F2D FD78 move.l -[A7], [A5 - 0x288]
000000B0 4267 clr.w -[A7]
000000B2 A935 syscall InsertMenu
000000B4 42A7 clr.l -[A7]
000000B6 3F3C 0081 move.w -[A7], 0x81
000000BA A9BF syscall GetRMenu
000000BC 2B5F FD7C move.l [A5 - 0x284], [A7]+
000000C0 2F2D FD7C move.l -[A7], [A5 - 0x284]
// begin alternate branch 000000C2-000000C4
label000000C2:
000000C2 FD7C .extension 0xD7C // unimplemented
// end alternate branch 000000C2-000000C4
label000000C2: // (misaligned)
000000C4 4267 clr.w -[A7]
000000C6 A935 syscall InsertMenu
000000C8 42A7 clr.l -[A7]
000000CA 3F3C 0082 move.w -[A7], 0x82
000000CE A9BF syscall GetRMenu
000000D0 2B5F FD84 move.l [A5 - 0x27C], [A7]+
000000D4 2F2D FD84 move.l -[A7], [A5 - 0x27C]
000000D8 4267 clr.w -[A7]
000000DA A935 syscall InsertMenu
000000DC A937 syscall DrawMenuBar
000000DE 4E5E unlink A6
000000E0 4E75 rts
000000E2 8A53 or.w D5, [A3]
000000E4 6574 bcs +0x76 /* 0000015A */
000000E6 5570 4D65 subq.w <<invalid full ext with IS == 1 and I/IS == 5>>, 2
000000EA 6E75 bgt +0x77 /* 00000161 */
000000EC 7300 moveq.l D1, 0x00
000000EE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000F0-000000F6
fn000000F0:
000000F0 4E56 0000 link A6, 0
000000F4 2F0C move.l -[A7], A4
// end alternate branch 000000F0-000000F6
fn000000F0: // (misaligned)
000000F2 0000 2F0C ori.b D0, 0xC
000000F6 4AAD FD80 tst.l [A5 - 0x280]
000000FA 662E bne +0x30 /* 0000012A */
000000FC 42A7 clr.l -[A7]
000000FE 3F3C 0080 move.w -[A7], 0x80
00000102 A9BC syscall GetPicture
00000104 285F movea.l A4, [A7]+
00000106 200C move.l D0, A4
00000108 6720 beq +0x22 /* 0000012A */
0000010A 42A7 clr.l -[A7]
0000010C 3F3C 0080 move.w -[A7], 0x80
00000110 42A7 clr.l -[A7]
00000112 4878 FFFF push.l 0xFFFF
00000116 A9BD syscall GetNewWindow
00000118 2B5F FD80 move.l [A5 - 0x280], [A7]+
0000011C 4AAD FD80 tst.l [A5 - 0x280]
00000120 6708 beq +0xA /* 0000012A */
00000122 2F2D FD80 move.l -[A7], [A5 - 0x280]
00000126 2F0C move.l -[A7], A4
00000128 A92E syscall SetWindowPic
label0000012A:
0000012A 285F movea.l A4, [A7]+
0000012C 4E5E unlink A6
0000012E 4E75 rts
00000130 9349 subx.w -[A1], -[A1]
00000132 6E73 bgt +0x75 /* 000001A7 */
00000134 7461 moveq.l D2, 0x61
00000136 6C6C bge +0x6E /* 000001A4 */
00000138 5370 6C61 subq.w [A0 + D6 * 4 + 0x61], 1
0000013C 7368 moveq.l D1, 0x68
0000013E 5363 subq.w -[A3], 1
00000140 7265 moveq.l D1, 0x65
00000142 656E bcs +0x70 /* 000001B2 */
00000144 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000146-0000014C
fn00000146:
00000146 4E56 0000 link A6, 0
0000014A 4267 clr.w -[A7]
// end alternate branch 00000146-0000014C
fn00000146: // (misaligned)
00000148 0000 4267 ori.b D0, 0x67 /* 'g' */
0000014C 3F3C 0080 move.w -[A7], 0x80
00000150 42A7 clr.l -[A7]
00000152 A985 syscall Alert
00000154 4E5E unlink A6
00000156 4E75 rts
00000158 8953 or.w [A3], D4
label0000015A:
0000015A 686F bvc +0x71 /* 000001CB */
0000015C 7741 moveq.l D3, 0x41
0000015E 626F bhi +0x71 /* 000001CF */
00000160 7574 moveq.l D2, 0x74
00000162 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000164-00000168
fn00000164:
00000164 4E56 FF00 link A6, -0x0100
// end alternate branch 00000164-00000168
fn00000164: // (misaligned)
00000166 FF00 .extension 0xF00 // unimplemented
00000168 48E7 0300 movem.l -[A7], D6,D7
0000016C 4267 clr.w -[A7]
0000016E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000172 A86A syscall HiWord
00000174 3E1F move.w D7, [A7]+
00000176 4267 clr.w -[A7]
00000178 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000017C A86B syscall LoWord
0000017E 3C1F move.w D6, [A7]+
00000180 3007 move.w D0, D7
00000182 6B44 bmi +0x46 /* 000001C8 */
00000184 0440 0081 subi.w D0, 0x81
00000188 672E beq +0x30 /* 000001B8 */
0000018A 6A3C bpl +0x3E /* 000001C8 */
0000018C 5240 addq.w D0, 1
0000018E 6B38 bmi +0x3A /* 000001C8 */
00000190 0C46 0001 cmpi.w D6, 0x1
00000194 6606 bne +0x8 /* 0000019C */
00000196 4EBA FFAE jsr [PC - 0x52 /* 00000146 */]
0000019A 602C bra +0x2E /* 000001C8 */
label0000019C:
0000019C 42A7 clr.l -[A7]
0000019E 3F3C 0080 move.w -[A7], 0x80
000001A2 A949 syscall GetMenuHandle
label000001A4:
000001A4 3F06 move.w -[A7], D6
000001A6 486E FF00 pea.l [A6 - 0x100]
000001AA A946 syscall GetMenuItemText/GetItem
000001AC 4267 clr.w -[A7]
000001AE 486E FF00 pea.l [A6 - 0x100]
label000001B2:
000001B2 A9B6 syscall OpenDeskAcc
000001B4 548F addq.l A7, 2
000001B6 6010 bra +0x12 /* 000001C8 */
label000001B8:
000001B8 0C46 0001 cmpi.w D6, 0x1
000001BC 6606 bne +0x8 /* 000001C4 */
000001BE 4EBA 0D0C jsr [PC + 0xD0C /* 00000ECC */]
000001C2 6004 bra +0x6 /* 000001C8 */
label000001C4:
000001C4 4EBA 10FC jsr [PC + 0x10FC /* 000012C2 */]
label000001C8:
000001C8 4267 clr.w -[A7]
000001CA A938 syscall HiliteMenu
000001CC 4CDF 00C0 movem.l D6,D7, [A7]+
000001D0 4E5E unlink A6
000001D2 4E75 rts
000001D4 8644 or.w D3, D4
000001D6 6F4D ble +0x4F /* 00000225 */
000001D8 656E bcs +0x70 /* 00000248 */
000001DA 7500 moveq.l D2, 0x00
000001DC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000001DE-000001E2
fn000001DE:
000001DE 4E56 FFFC link A6, -0x0004
// end alternate branch 000001DE-000001E2
fn000001DE: // (misaligned)
000001E0 FFFC .extension 0xFFC // unimplemented
000001E2 48E7 0108 movem.l -[A7], D7,A4
000001E6 286E 0008 movea.l A4, [A6 + 0x8]
000001EA 4267 clr.w -[A7]
000001EC 2F2C 000A move.l -[A7], [A4 + 0xA]
000001F0 486E FFFC pea.l [A6 - 0x4]
000001F4 A92C syscall FindWindow
000001F6 3E1F move.w D7, [A7]+
000001F8 3007 move.w D0, D7
000001FA 673C beq +0x3E /* 00000238 */
000001FC 6B3A bmi +0x3C /* 00000238 */
000001FE 5740 subq.w D0, 3
00000200 6736 beq +0x38 /* 00000238 */
00000202 6A06 bpl +0x8 /* 0000020A */
00000204 5240 addq.w D0, 1
00000206 6A18 bpl +0x1A /* 00000220 */
00000208 6006 bra +0x8 /* 00000210 */
label0000020A:
0000020A 5540 subq.w D0, 2
0000020C 6A2A bpl +0x2C /* 00000238 */
0000020E 601A bra +0x1C /* 0000022A */
label00000210:
00000210 42A7 clr.l -[A7]
00000212 2F2C 000A move.l -[A7], [A4 + 0xA]
00000216 A93D syscall MenuSelect
00000218 4EBA FF4A jsr [PC - 0xB6 /* 00000164 */]
0000021C 588F addq.l A7, 4
0000021E 6018 bra +0x1A /* 00000238 */
label00000220:
00000220 2F0C move.l -[A7], A4
00000222 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000226 A9B3 syscall SystemClick
00000228 600E bra +0x10 /* 00000238 */
label0000022A:
0000022A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000022E 2F2C 000A move.l -[A7], [A4 + 0xA]
00000232 486D FF88 pea.l [A5 - 0x78]
00000236 A925 syscall DragWindow
label00000238:
00000238 4CDF 1080 movem.l D7,A4, [A7]+
0000023C 4E5E unlink A6
0000023E 4E75 rts
00000240 8B44 6F4D pack D5, D4, 0x6F4D
00000244 CF75 7365 .incomplete
label00000248:
00000248 446F 776E neg.w [A7 + 0x776E]
0000024C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000024E-0000025C
fn0000024E:
0000024E 4E56 0000 link A6, 0
00000252 206E 0008 movea.l A0, [A6 + 0x8]
00000256 0828 0000 000E btst.b [A0 + 0xE], 0x0
// end alternate branch 0000024E-0000025C
fn0000024E: // (misaligned)
00000250 0000 206E ori.b D0, 0x6E /* 'n' */
00000254 0008 0828 ori.b A0, 0x28 /* '(' */
00000258 0000 000E ori.b D0, 0xE
0000025C 671A beq +0x1C /* 00000278 */
0000025E 42A7 clr.l -[A7]
00000260 206E 0008 movea.l A0, [A6 + 0x8]
00000264 1028 0005 move.b D0, [A0 + 0x5]
00000268 4880 ext.w D0
0000026A 0240 00FF andi.w D0, 0xFF
0000026E 3F00 move.w -[A7], D0
00000270 A93E syscall MenuKey
00000272 4EBA FEF0 jsr [PC - 0x110 /* 00000164 */]
00000276 588F addq.l A7, 4
label00000278:
00000278 4E5E unlink A6
0000027A 4E75 rts
0000027C 8944 6F4B pack D4, D4, 0x6F4B
00000280 6579 bcs +0x7B /* 000002FB */
00000282 446F 776E neg.w [A7 + 0x776E]
00000286 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_15: // at 00000288 (misaligned)
0000028A 0000 4EBA ori.b D0, 0xBA
0000028E FD84 .extension 0xD84 // unimplemented
00000290 4EBA FDBA jsr [PC - 0x246 /* 0000004C */]
00000294 4A00 tst.b D0
00000296 6700 0088 beq +0x8A /* 00000320 */
0000029A 4A2D FD66 tst.b [A5 - 0x29A]
0000029E 6618 bne +0x1A /* 000002B8 */
000002A0 2F3C 0009 0000 move.l -[A7], 0x90000 /* '\t\0\0' */
000002A6 486D FD88 pea.l [A5 - 0x278]
000002AA 3F3C 0001 move.w -[A7], 0x1
000002AE 4EBA 0CB4 jsr [PC + 0xCB4 /* 00000F64 */]
000002B2 4FEF 000A lea.l A7, [A7 + 0xA]
000002B6 6064 bra +0x66 /* 0000031C */
label000002B8:
000002B8 4EBA 00A2 jsr [PC + 0xA2 /* 0000035C */]
000002BC 4EBA FDD2 jsr [PC - 0x22E /* 00000090 */]
000002C0 4EBA FE2E jsr [PC - 0x1D2 /* 000000F0 */]
000002C4 6050 bra +0x52 /* 00000316 */
label000002C6:
000002C6 4227 clr.b -[A7]
000002C8 3F3C FFFF move.w -[A7], 0xFFFF
000002CC 486D FD68 pea.l [A5 - 0x298]
000002D0 42A7 clr.l -[A7]
000002D2 42A7 clr.l -[A7]
000002D4 A860 syscall WaitNextEvent
000002D6 1B5F FD67 move.b [A5 - 0x299], [A7]+
000002DA 4A2D FD67 tst.b [A5 - 0x299]
000002DE 6736 beq +0x38 /* 00000316 */
000002E0 302D FD68 move.w D0, [A5 - 0x298]
000002E4 0C40 0017 cmpi.w D0, 0x17
000002E8 622C bhi +0x2E /* 00000316 */
000002EA 43FA 0040 lea.l A1, [PC + 0x40 /* 0000032C, value 0xFFEAFFD4 */]
000002EE D040 add.w D0, D0
000002F0 D2F1 0000 add.w A1, [A1 + D0.w]
000002F4 4ED1 jmp [A1]
000002F6 486D FD68 pea.l [A5 - 0x298]
000002FA 4EBA 03D8 jsr [PC + 0x3D8 /* 000006D4 */]
000002FE 6016 bra +0x18 /* 00000316 */
00000300 486D FD68 pea.l [A5 - 0x298]
00000304 4EBA FED8 jsr [PC - 0x128 /* 000001DE */]
00000308 588F addq.l A7, 4
0000030A 600A bra +0xC /* 00000316 */
0000030C 486D FD68 pea.l [A5 - 0x298]
00000310 4EBA FF3C jsr [PC - 0xC4 /* 0000024E */]
00000314 588F addq.l A7, 4
label00000316:
00000316 4A2D FD64 tst.b [A5 - 0x29C]
0000031A 67AA beq -0x54 /* 000002C6 */
label0000031C:
0000031C 4EBA 0C28 jsr [PC + 0xC28 /* 00000F46 */]
label00000320:
00000320 4E5E unlink A6
00000322 4E75 rts
00000324 846D 6169 or.w D2, [A5 + 0x6169]
00000328 6E00 0030 bgt +0x32 /* 0000035A */
0000032C FFEA .extension 0xFEA // unimplemented
0000032E FFD4 .extension 0xFD4 // unimplemented
00000330 FFEA .extension 0xFEA // unimplemented
00000332 FFE0 .extension 0xFE0 // unimplemented
00000334 FFEA .extension 0xFEA // unimplemented
00000336 FFE0 .extension 0xFE0 // unimplemented
00000338 FFEA .extension 0xFEA // unimplemented
0000033A FFEA .extension 0xFEA // unimplemented
0000033C FFEA .extension 0xFEA // unimplemented
0000033E FFEA .extension 0xFEA // unimplemented
00000340 FFEA .extension 0xFEA // unimplemented
00000342 FFEA .extension 0xFEA // unimplemented
00000344 FFEA .extension 0xFEA // unimplemented
00000346 FFEA .extension 0xFEA // unimplemented
00000348 FFEA .extension 0xFEA // unimplemented
0000034A FFEA .extension 0xFEA // unimplemented
0000034C FFEA .extension 0xFEA // unimplemented
0000034E FFEA .extension 0xFEA // unimplemented
00000350 FFEA .extension 0xFEA // unimplemented
00000352 FFEA .extension 0xFEA // unimplemented
00000354 FFEA .extension 0xFEA // unimplemented
00000356 FFEA .extension 0xFEA // unimplemented
00000358 FFEA .extension 0xFEA // unimplemented
label0000035A:
0000035A FFCA .extension 0xFCA // unimplemented
fn0000035C:
0000035C 4E56 0000 link A6, 0
00000360 2F07 move.l -[A7], D7
00000362 7E00 moveq.l D7, 0x00
00000364 4A47 tst.w D7
00000366 661E bne +0x20 /* 00000386 */
00000368 4267 clr.w -[A7]
0000036A 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
00000370 2F3C 6F61 7070 move.l -[A7], 0x6F617070 /* 'oapp' */
00000376 486D 0072 pea.l [A5 + 0x72 /* export_10 */]
0000037A 42A7 clr.l -[A7]
0000037C 4227 clr.b -[A7]
0000037E 303C 091F move.w D0, 0x91F
00000382 A816 syscall Pack8
00000384 3E1F move.w D7, [A7]+
label00000386:
00000386 4A47 tst.w D7
00000388 661E bne +0x20 /* 000003A8 */
0000038A 4267 clr.w -[A7]
0000038C 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
00000392 2F3C 6F64 6F63 move.l -[A7], 0x6F646F63 /* 'odoc' */
00000398 486D 0082 pea.l [A5 + 0x82 /* export_12 */]
0000039C 42A7 clr.l -[A7]
0000039E 4227 clr.b -[A7]
000003A0 303C 091F move.w D0, 0x91F
000003A4 A816 syscall Pack8
000003A6 3E1F move.w D7, [A7]+
label000003A8:
000003A8 4A47 tst.w D7
000003AA 661E bne +0x20 /* 000003CA */
000003AC 4267 clr.w -[A7]
000003AE 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
000003B4 2F3C 7064 6F63 move.l -[A7], 0x70646F63 /* 'pdoc' */
000003BA 486D 008A pea.l [A5 + 0x8A /* export_13 */]
000003BE 42A7 clr.l -[A7]
000003C0 4227 clr.b -[A7]
000003C2 303C 091F move.w D0, 0x91F
000003C6 A816 syscall Pack8
000003C8 3E1F move.w D7, [A7]+
label000003CA:
000003CA 4A47 tst.w D7
000003CC 661E bne +0x20 /* 000003EC */
000003CE 4267 clr.w -[A7]
000003D0 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
000003D6 2F3C 7175 6974 move.l -[A7], 0x71756974 /* 'quit' */
000003DC 486D 007A pea.l [A5 + 0x7A /* export_11 */]
000003E0 42A7 clr.l -[A7]
000003E2 4227 clr.b -[A7]
000003E4 303C 091F move.w D0, 0x91F
000003E8 A816 syscall Pack8
000003EA 3E1F move.w D7, [A7]+
label000003EC:
000003EC 4A47 tst.w D7
000003EE 6604 bne +0x6 /* 000003F4 */
000003F0 4EBA 0310 jsr [PC + 0x310 /* 00000702 */]
label000003F4:
000003F4 4A47 tst.w D7
000003F6 2E1F move.l D7, [A7]+
000003F8 4E5E unlink A6
000003FA 4E75 rts
000003FC 8D49 6E69 pack -[A6], -[A1], 0x6E69
00000400 7441 moveq.l D2, 0x41
00000402 4556 chk.w D2, [A6]
00000404 5453 addq.w [A3], 2
00000406 7475 moveq.l D2, 0x75
00000408 6666 bne +0x68 /* 00000470 */
0000040A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000040C-00000410
fn0000040C:
0000040C 4E56 FFF8 link A6, -0x0008
// end alternate branch 0000040C-00000410
fn0000040C: // (misaligned)
0000040E FFF8 .extension 0xFF8 // unimplemented
00000410 48E7 0300 movem.l -[A7], D6,D7
00000414 4267 clr.w -[A7]
00000416 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000041A 2F3C 6D69 7373 move.l -[A7], 0x6D697373 /* 'miss' */
00000420 2F3C 2A2A 2A2A move.l -[A7], 0x2A2A2A2A /* '****' */
00000426 486E FFFC pea.l [A6 - 0x4]
0000042A 42A7 clr.l -[A7]
0000042C 42A7 clr.l -[A7]
0000042E 486E FFF8 pea.l [A6 - 0x8]
00000432 303C 0E15 move.w D0, 0xE15
00000436 A816 syscall Pack8
00000438 3C1F move.w D6, [A7]+
0000043A 0C46 F95B cmpi.w D6, 0xF95B
0000043E 6604 bne +0x6 /* 00000444 */
00000440 7E00 moveq.l D7, 0x00
00000442 600C bra +0xE /* 00000450 */
label00000444:
00000444 4A46 tst.w D6
00000446 6606 bne +0x8 /* 0000044E */
00000448 3E3C F954 move.w D7, 0xF954
0000044C 6002 bra +0x4 /* 00000450 */
label0000044E:
0000044E 3E06 move.w D7, D6
label00000450:
00000450 3007 move.w D0, D7
00000452 4CDF 00C0 movem.l D6,D7, [A7]+
00000456 4E5E unlink A6
00000458 4E75 rts
0000045A 9147 subx.w D0, D7
0000045C 6F74 ble +0x76 /* 000004D2 */
0000045E 5265 addq.w -[A5], 1
00000460 7175 moveq.l D0, 0x75
00000462 6972 bvs +0x74 /* 000004D6 */
00000464 6564 bcs +0x66 /* 000004CA */
00000466 5061 addq.w -[A1], 8
00000468 7261 moveq.l D1, 0x61
0000046A 6D73 blt +0x75 /* 000004DF */
0000046C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000046E-00000478
fn0000046E:
0000046E 4E56 0000 link A6, 0
label00000470: // (misaligned)
00000472 4A6E 0008 tst.w [A6 + 0x8]
00000476 6716 beq +0x18 /* 0000048E */
// end alternate branch 0000046E-00000478
fn0000046E: // (misaligned)
label00000470:
00000470 0000 4A6E ori.b D0, 0x6E /* 'n' */
00000474 0008 6716 ori.b A0, 0x16
00000478 2F3C 0009 0000 move.l -[A7], 0x90000 /* '\t\0\0' */
0000047E 486D FD8A pea.l [A5 - 0x276]
00000482 3F3C 0002 move.w -[A7], 0x2
00000486 4EBA 0ADC jsr [PC + 0xADC /* 00000F64 */]
0000048A 4FEF 000A lea.l A7, [A7 + 0xA]
label0000048E:
0000048E 4E5E unlink A6
00000490 4E75 rts
00000492 8746 6169 pack D3, D6, 0x6169
00000496 6C45 bge +0x47 /* 000004DD */
00000498 7272 moveq.l D1, 0x72
0000049A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_10: // at 0000049C (misaligned)
0000049E 0000 2F07 ori.b D0, 0x7
000004A2 2F2E 0010 move.l -[A7], [A6 + 0x10]
000004A6 4EBA FF64 jsr [PC - 0x9C /* 0000040C */]
000004AA 3E00 move.w D7, D0
000004AC 3E80 move.w [A7], D0
000004AE 4EBA FFBE jsr [PC - 0x42 /* 0000046E */]
000004B2 4EBA 026C jsr [PC + 0x26C /* 00000720 */]
000004B6 206E 000C movea.l A0, [A6 + 0xC]
000004BA 4AA8 0004 tst.l [A0 + 0x4]
000004BE 588F addq.l A7, 4
000004C0 672A beq +0x2C /* 000004EC */
000004C2 4267 clr.w -[A7]
000004C4 2F2E 000C move.l -[A7], [A6 + 0xC]
000004C8 2F3C 6572 7273 move.l -[A7], 0x65727273 /* 'errs' */
// begin alternate branch 000004CA-000004CE
label000004CA:
000004CA 6572 bcs +0x74 /* 0000053E */
000004CC 7273 moveq.l D1, 0x73
// end alternate branch 000004CA-000004CE
label000004CA: // (misaligned)
000004CE 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
// begin alternate branch 000004D2-000004D4
label000004D2:
000004D2 5854 addq.w [A4], 4
// end alternate branch 000004D2-000004D4
label000004D2: // (misaligned)
000004D4 486D FD8C pea.l [A5 - 0x274]
// begin alternate branch 000004D6-000004D8
label000004D6:
000004D6 FD8C .extension 0xD8C // unimplemented
// end alternate branch 000004D6-000004D8
label000004D6: // (misaligned)
000004D8 4878 0007 push.l 0x7
000004DC 303C 0A0F move.w D0, 0xA0F
000004E0 A816 syscall Pack8
000004E2 3E1F move.w D7, [A7]+
000004E4 3F07 move.w -[A7], D7
000004E6 4EBA FF86 jsr [PC - 0x7A /* 0000046E */]
000004EA 548F addq.l A7, 2
label000004EC:
000004EC 3D47 0014 move.w [A6 + 0x14], D7
000004F0 2E1F move.l D7, [A7]+
000004F2 4E5E unlink A6
000004F4 205F movea.l A0, [A7]+
000004F6 4FEF 000C lea.l A7, [A7 + 0xC]
000004FA 4ED0 jmp [A0]
000004FC 8A48 or.w D5, A0
000004FE 616E bsr +0x70 /* 0000056E */
00000500 646C bcc +0x6E /* 0000056E */
00000502 654F bcs +0x51 /* 00000553 */
00000504 4150 chk.w D0, [A0]
00000506 5000 addq.b D0, 8
00000508 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_11: // at 0000050A (misaligned)
0000050C 0000 2F07 ori.b D0, 0x7
00000510 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000514 4EBA FEF6 jsr [PC - 0x10A /* 0000040C */]
00000518 3E00 move.w D7, D0
0000051A 3E80 move.w [A7], D0
0000051C 4EBA FF50 jsr [PC - 0xB0 /* 0000046E */]
00000520 4EBA 021C jsr [PC + 0x21C /* 0000073E */]
00000524 206E 000C movea.l A0, [A6 + 0xC]
00000528 4AA8 0004 tst.l [A0 + 0x4]
0000052C 588F addq.l A7, 4
0000052E 672A beq +0x2C /* 0000055A */
00000530 4267 clr.w -[A7]
00000532 2F2E 000C move.l -[A7], [A6 + 0xC]
00000536 2F3C 6572 7273 move.l -[A7], 0x65727273 /* 'errs' */
0000053C 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
// begin alternate branch 0000053E-00000542
label0000053E:
0000053E 5445 addq.w D5, 2
00000540 5854 addq.w [A4], 4
// end alternate branch 0000053E-00000542
label0000053E: // (misaligned)
00000542 486D FD94 pea.l [A5 - 0x26C]
00000546 4878 0007 push.l 0x7
0000054A 303C 0A0F move.w D0, 0xA0F
0000054E A816 syscall Pack8
00000550 3E1F move.w D7, [A7]+
00000552 3F07 move.w -[A7], D7
00000554 4EBA FF18 jsr [PC - 0xE8 /* 0000046E */]
00000558 548F addq.l A7, 2
label0000055A:
0000055A 3D47 0014 move.w [A6 + 0x14], D7
0000055E 2E1F move.l D7, [A7]+
00000560 4E5E unlink A6
00000562 205F movea.l A0, [A7]+
00000564 4FEF 000C lea.l A7, [A7 + 0xC]
00000568 4ED0 jmp [A0]
0000056A 8A48 or.w D5, A0
0000056C 616E bsr +0x70 /* 000005DC */
fn0000056E:
0000056E 646C bcc +0x6E /* 000005DC */
00000570 6551 bcs +0x53 /* 000005C3 */
00000572 7569 moveq.l D2, 0x69
00000574 7400 moveq.l D2, 0x00
00000576 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000578-0000057C
fn00000578:
00000578 4E56 FF9E link A6, -0x0062
// end alternate branch 00000578-0000057C
fn00000578: // (misaligned)
0000057A FF9E .extension 0xF9E // unimplemented
0000057C 48E7 0700 movem.l -[A7], D5,D6,D7
00000580 1E2E 0008 move.b D7, [A6 + 0x8]
00000584 4267 clr.w -[A7]
00000586 2F2E 000E move.l -[A7], [A6 + 0xE]
0000058A 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
00000590 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00000596 486E FFB2 pea.l [A6 - 0x4E]
0000059A 303C 0812 move.w D0, 0x812
0000059E A816 syscall Pack8
000005A0 3C1F move.w D6, [A7]+
000005A2 3F06 move.w -[A7], D6
000005A4 4EBA FEC8 jsr [PC - 0x138 /* 0000046E */]
000005A8 2F2E 000E move.l -[A7], [A6 + 0xE]
000005AC 4EBA FE5E jsr [PC - 0x1A2 /* 0000040C */]
000005B0 3C00 move.w D6, D0
000005B2 3E80 move.w [A7], D0
000005B4 4EBA FEB8 jsr [PC - 0x148 /* 0000046E */]
000005B8 4217 clr.b [A7]
000005BA 1F07 move.b -[A7], D7
000005BC 486E FF9E pea.l [A6 - 0x62]
000005C0 4EBA 0194 jsr [PC + 0x194 /* 00000756 */]
000005C4 4A1F tst.b [A7]+
000005C6 588F addq.l A7, 4
000005C8 6772 beq +0x74 /* 0000063C */
000005CA 4267 clr.w -[A7]
000005CC 486E FFB2 pea.l [A6 - 0x4E]
000005D0 486E FFAE pea.l [A6 - 0x52]
000005D4 303C 0407 move.w D0, 0x407
000005D8 A816 syscall Pack8
000005DA 3C1F move.w D6, [A7]+
fn000005DC:
000005DC 3F06 move.w -[A7], D6
000005DE 4EBA FE8E jsr [PC - 0x172 /* 0000046E */]
000005E2 7A01 moveq.l D5, 0x01
000005E4 548F addq.l A7, 2
000005E6 6042 bra +0x44 /* 0000062A */
label000005E8:
000005E8 4267 clr.w -[A7]
000005EA 486E FFB2 pea.l [A6 - 0x4E]
000005EE 2F05 move.l -[A7], D5
000005F0 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
000005F6 486E FFA6 pea.l [A6 - 0x5A]
000005FA 486E FFA2 pea.l [A6 - 0x5E]
000005FE 486E FFBA pea.l [A6 - 0x46]
00000602 4878 0046 push.l 0x46 /* 'F' */
00000606 486E FFAA pea.l [A6 - 0x56]
0000060A 303C 100A move.w D0, 0x100A
0000060E A816 syscall Pack8
00000610 3C1F move.w D6, [A7]+
00000612 3F06 move.w -[A7], D6
00000614 4EBA FE58 jsr [PC - 0x1A8 /* 0000046E */]
00000618 486E FFBA pea.l [A6 - 0x46]
0000061C 1F07 move.b -[A7], D7
0000061E 2F2E FF9E move.l -[A7], [A6 - 0x62]
00000622 4EBA 01C2 jsr [PC + 0x1C2 /* 000007E6 */]
00000626 548F addq.l A7, 2
00000628 5285 addq.l D5, 1
label0000062A:
0000062A BAAE FFAE cmp.l D5, [A6 - 0x52]
0000062E 6FB8 ble -0x46 /* 000005E8 */
00000630 1F07 move.b -[A7], D7
00000632 2F2E FF9E move.l -[A7], [A6 - 0x62]
00000636 4EBA 0820 jsr [PC + 0x820 /* 00000E58 */]
0000063A 6004 bra +0x6 /* 00000640 */
label0000063C:
0000063C 3C3C F954 move.w D6, 0xF954
label00000640:
00000640 4267 clr.w -[A7]
00000642 486E FFB2 pea.l [A6 - 0x4E]
00000646 303C 0204 move.w D0, 0x204
0000064A A816 syscall Pack8
0000064C 4EBA FE20 jsr [PC - 0x1E0 /* 0000046E */]
00000650 3D46 0012 move.w [A6 + 0x12], D6
00000654 4CEE 00E0 FF92 movem.l D5,D6,D7, [A6 - 0x6E]
0000065A 4E5E unlink A6
0000065C 205F movea.l A0, [A7]+
0000065E 4FEF 000A lea.l A7, [A7 + 0xA]
00000662 4ED0 jmp [A0]
00000664 8B5F or.w [A7]+, D5
00000666 4861 pea.l -[A1]
00000668 6E64 bgt +0x66 /* 000006CE */
0000066A 6C65 bge +0x67 /* 000006D1 */
0000066C 446F 6373 neg.w [A7 + 0x6373]
00000670 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_12: // at 00000672 (misaligned)
00000674 0000 4267 ori.b D0, 0x67 /* 'g' */
00000678 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000067C 2F2E 000C move.l -[A7], [A6 + 0xC]
00000680 1F3C 0001 move.b -[A7], 0x1
00000684 4EBA FEF2 jsr [PC - 0x10E /* 00000578 */]
00000688 3D5F 0014 move.w [A6 + 0x14], [A7]+
0000068C 4E5E unlink A6
0000068E 205F movea.l A0, [A7]+
00000690 4FEF 000C lea.l A7, [A7 + 0xC]
00000694 4ED0 jmp [A0]
00000696 8A48 or.w D5, A0
00000698 616E bsr +0x70 /* 00000708 */
0000069A 646C bcc +0x6E /* 00000708 */
0000069C 654F bcs +0x51 /* 000006ED */
0000069E 444F neg.w A7
000006A0 4300 .invalid 1, D0 // invalid opcode 4 with b == 4
000006A2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_13: // at 000006A4 (misaligned)
000006A6 0000 4267 ori.b D0, 0x67 /* 'g' */
000006AA 2F2E 0010 move.l -[A7], [A6 + 0x10]
000006AE 2F2E 000C move.l -[A7], [A6 + 0xC]
000006B2 4227 clr.b -[A7]
000006B4 4EBA FEC2 jsr [PC - 0x13E /* 00000578 */]
000006B8 3D5F 0014 move.w [A6 + 0x14], [A7]+
000006BC 4E5E unlink A6
000006BE 205F movea.l A0, [A7]+
000006C0 4FEF 000C lea.l A7, [A7 + 0xC]
000006C4 4ED0 jmp [A0]
000006C6 8A48 or.w D5, A0
000006C8 616E bsr +0x70 /* 00000738 */
000006CA 646C bcc +0x6E /* 00000738 */
000006CC 6550 bcs +0x52 /* 0000071E */
label000006CE:
000006CE 444F neg.w A7
000006D0 4300 .invalid 1, D0 // invalid opcode 4 with b == 4
000006D2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000006D4-000006DA
fn000006D4:
000006D4 4E56 0000 link A6, 0
000006D8 4267 clr.w -[A7]
// end alternate branch 000006D4-000006DA
fn000006D4: // (misaligned)
000006D6 0000 4267 ori.b D0, 0x67 /* 'g' */
000006DA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006DE 303C 021B move.w D0, 0x21B
000006E2 A816 syscall Pack8
000006E4 4EBA FD88 jsr [PC - 0x278 /* 0000046E */]
000006E8 4E5E unlink A6
000006EA 2E9F move.l [A7], [A7]+
000006EC 4E75 rts
000006EE 9044 sub.w D0, D4
000006F0 6F48 ble +0x4A /* 0000073A */
000006F2 6967 bvs +0x69 /* 0000075B */
000006F4 684C bvc +0x4E /* 00000742 */
000006F6 6576 bcs +0x78 /* 0000076E */
000006F8 656C bcs +0x6E /* 00000766 */
000006FA 4576 656E chk.w D2, <<invalid full ext with IS == 1 and I/IS == 6>>
000006FE 7400 moveq.l D2, 0x00
00000700 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000702-00000708
fn00000702:
00000702 4E56 0000 link A6, 0
00000706 4E5E unlink A6
// end alternate branch 00000702-00000708
fn00000702: // (misaligned)
00000704 0000 4E5E ori.b D0, 0x5E /* '^' */
fn00000708:
00000708 4E75 rts
0000070A 9249 sub.w D1, A1
0000070C 6E73 bgt +0x75 /* 00000781 */
0000070E 7461 moveq.l D2, 0x61
00000710 6C6C bge +0x6E /* 0000077E */
00000712 4F74 6865 chk.w D7, [A4 + D6 + 0x65]
00000716 7245 moveq.l D1, 0x45
00000718 7665 moveq.l D3, 0x65
0000071A 6E74 bgt +0x76 /* 00000790 */
0000071C 7300 moveq.l D1, 0x00
label0000071E:
0000071E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000720-0000072A
fn00000720:
00000720 4E56 0000 link A6, 0
00000724 1B7C 0001 FD65 move.b [A5 - 0x29B], 0x1
// end alternate branch 00000720-0000072A
fn00000720: // (misaligned)
00000722 0000 1B7C ori.b D0, 0x7C /* '|' */
00000726 0001 FD65 ori.b D1, 0x65 /* 'e' */
0000072A 2F2D FD80 move.l -[A7], [A5 - 0x280]
0000072E A915 syscall ShowWindow
00000730 4E5E unlink A6
00000732 4E75 rts
00000734 874F 7065 pack -[A3], -[A7], 0x7065
fn00000738:
00000738 6E41 bgt +0x43 /* 0000077B */
label0000073A:
0000073A 7070 moveq.l D0, 0x70
0000073C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000073E-00000748
fn0000073E:
0000073E 4E56 0000 link A6, 0
label00000742:
00000742 1B7C 0001 FD64 move.b [A5 - 0x29C], 0x1
// end alternate branch 0000073E-00000748
fn0000073E: // (misaligned)
00000740 0000 1B7C ori.b D0, 0x7C /* '|' */
label00000742: // (misaligned)
00000744 0001 FD64 ori.b D1, 0x64 /* 'd' */
00000748 4E5E unlink A6
0000074A 4E75 rts
0000074C 8751 or.w [A1], D3
0000074E 7569 moveq.l D2, 0x69
00000750 7441 moveq.l D2, 0x41
00000752 7070 moveq.l D0, 0x70
00000754 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000756-0000075A
fn00000756:
00000756 4E56 FFF8 link A6, -0x0008
// end alternate branch 00000756-0000075A
fn00000756: // (misaligned)
00000758 FFF8 .extension 0xFF8 // unimplemented
0000075A 3F2D FEFE move.w -[A7], [A5 - 0x102]
0000075E A998 syscall UseResFile
00000760 42A7 clr.l -[A7]
00000762 3F3C 0004 move.w -[A7], 0x4
label00000766:
00000766 A9B9 syscall GetCursor
00000768 205F movea.l A0, [A7]+
0000076A 2F10 move.l -[A7], [A0]
0000076C A851 syscall SetCursor
label0000076E:
0000076E 4A2D FD65 tst.b [A5 - 0x29B]
00000772 6706 beq +0x8 /* 0000077A */
00000774 2F2D FD80 move.l -[A7], [A5 - 0x280]
00000778 A916 syscall HideWindow
label0000077A:
0000077A 422D FEFC clr.b [A5 - 0x104]
label0000077E:
0000077E 42A7 clr.l -[A7]
00000780 3F3C 0083 move.w -[A7], 0x83
00000784 42A7 clr.l -[A7]
00000786 4878 FFFF push.l 0xFFFF
0000078A A97C syscall GetNewDialog
0000078C 2B5F FF02 move.l [A5 - 0xFE], [A7]+
label00000790:
00000790 4AAD FF02 tst.l [A5 - 0xFE]
00000794 6602 bne +0x4 /* 00000798 */
00000796 A9F4 syscall ExitToShell
label00000798:
00000798 486D FF0E pea.l [A5 - 0xF2]
0000079C A874 syscall GetPort
0000079E 2F2D FF02 move.l -[A7], [A5 - 0xFE]
000007A2 A873 syscall SetPort
000007A4 3F3C 0001 move.w -[A7], 0x1
000007A8 2F2D FF02 move.l -[A7], [A5 - 0xFE]
000007AC 486E FFF8 pea.l [A6 - 0x8]
000007B0 4EBA 0CCC jsr [PC + 0xCCC /* 0000147E */]
000007B4 2B6E FFF8 FF06 move.l [A5 - 0xFA], [A6 - 0x8]
000007BA 2B6E FFFC FF0A move.l [A5 - 0xF6], [A6 - 0x4]
000007C0 4EBA 0D22 jsr [PC + 0xD22 /* 000014E4 */]
000007C4 3B40 FF00 move.w [A5 - 0x100], D0
000007C8 1D6E 000C 000E move.b [A6 + 0xE], [A6 + 0xC]
000007CE 4E5E unlink A6
000007D0 205F movea.l A0, [A7]+
000007D2 5C8F addq.l A7, 6
000007D4 4ED0 jmp [A0]
000007D6 8D50 or.w [A0], D6
000007D8 7265 moveq.l D1, 0x65
000007DA 466C 6967 not.w [A4 + 0x6967]
000007DE 6874 bvc +0x76 /* 00000854 */
000007E0 446F 6373 neg.w [A7 + 0x6373]
000007E4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000007E6-000007EA
fn000007E6:
000007E6 4E56 FF00 link A6, -0x0100
// end alternate branch 000007E6-000007EA
fn000007E6: // (misaligned)
000007E8 FF00 .extension 0xF00 // unimplemented
000007EA 41EE FF00 lea.l A0, [A6 - 0x100]
000007EE 43ED FD9C lea.l A1, [A5 - 0x264]
000007F2 703F moveq.l D0, 0x3F
label000007F4:
000007F4 20D9 move.l [A0]+, [A1]+
000007F6 51C8 FFFC dbf D0, -0x6 /* 000007F4 */
000007FA 3F2D FEFE move.w -[A7], [A5 - 0x102]
000007FE A998 syscall UseResFile
00000800 2F2E 000E move.l -[A7], [A6 + 0xE]
00000804 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
0000080A 2F3C 7366 696C move.l -[A7], 0x7366696C /* 'sfil' */
00000810 486E FF00 pea.l [A6 - 0x100]
00000814 4EBA 001C jsr [PC + 0x1C /* 00000832 */]
00000818 3F2D FEFE move.w -[A7], [A5 - 0x102]
0000081C A998 syscall UseResFile
0000081E 4E5E unlink A6
00000820 205F movea.l A0, [A7]+
00000822 4FEF 000A lea.l A7, [A7 + 0xA]
00000826 4ED0 jmp [A0]
00000828 874F 7065 pack -[A3], -[A7], 0x7065
0000082C 6E44 bgt +0x46 /* 00000872 */
0000082E 6F63 ble +0x65 /* 00000893 */
00000830 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000832-00000836
fn00000832:
00000832 4E56 FE16 link A6, -0x01EA
// end alternate branch 00000832-00000836
fn00000832: // (misaligned)
00000834 FE16 .extension 0xE16 // unimplemented
00000836 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000083A 286E 0014 movea.l A4, [A6 + 0x14]
0000083E 41EE FE18 lea.l A0, [A6 - 0x1E8]
00000842 43ED FE9C lea.l A1, [A5 - 0x164]
00000846 20D9 move.l [A0]+, [A1]+
00000848 20D9 move.l [A0]+, [A1]+
0000084A 20D9 move.l [A0]+, [A1]+
0000084C 20D9 move.l [A0]+, [A1]+
0000084E 7A03 moveq.l D5, 0x03
00000850 4227 clr.b -[A7]
00000852 2F0C move.l -[A7], A4
label00000854:
00000854 486E FFFE pea.l [A6 - 0x2]
00000858 3F3C 0001 move.w -[A7], 0x1
0000085C 4EBA 0224 jsr [PC + 0x224 /* 00000A82 */]
00000860 4A1F tst.b [A7]+
00000862 6700 01FC beq +0x1FE /* 00000A60 */
00000866 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000086A A998 syscall UseResFile
0000086C 4267 clr.w -[A7]
0000086E 2F2E 0010 move.l -[A7], [A6 + 0x10]
label00000872:
00000872 A80D syscall Count1Resources
00000874 3E1F move.w D7, [A7]+
00000876 0C47 0001 cmpi.w D7, 0x1
0000087A 6C0A bge +0xC /* 00000886 */
0000087C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000880 A99A syscall CloseResFile
00000882 6000 01DC bra +0x1DE /* 00000A60 */
label00000886:
00000886 0C47 0001 cmpi.w D7, 0x1
0000088A 6F22 ble +0x24 /* 000008AE */
0000088C 4227 clr.b -[A7]
0000088E 2F0C move.l -[A7], A4
00000890 486E FFB8 pea.l [A6 - 0x48]
00000894 486E FFB4 pea.l [A6 - 0x4C]
00000898 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000089C 4EBA 022A jsr [PC + 0x22A /* 00000AC8 */]
000008A0 4A1F tst.b [A7]+
000008A2 6610 bne +0x12 /* 000008B4 */
000008A4 1B7C 0001 FEFC move.b [A5 - 0x104], 0x1
000008AA 6000 01B4 bra +0x1B6 /* 00000A60 */
label000008AE:
000008AE 2D6C 0002 FFB4 move.l [A6 - 0x4C], [A4 + 0x2]
label000008B4:
000008B4 486C 0006 pea.l [A4 + 0x6]
000008B8 486D FF12 pea.l [A5 - 0xEE]
000008BC 486D FF14 pea.l [A5 - 0xEC]
000008C0 486D FF16 pea.l [A5 - 0xEA]
000008C4 A98B syscall ParamText
000008C6 2F2D FF02 move.l -[A7], [A5 - 0xFE]
000008CA A915 syscall ShowWindow
000008CC 2F2D FF02 move.l -[A7], [A5 - 0xFE]
000008D0 A981 syscall DrawDialog
000008D2 0C6D 0008 FF00 cmpi.w [A5 - 0x100], 0x8
000008D8 5CC0 sge D0
000008DA 4400 neg.b D0
000008DC 1F00 move.b -[A7], D0
000008DE 4267 clr.w -[A7]
000008E0 486D FF06 pea.l [A5 - 0xFA]
000008E4 4EBA 0A60 jsr [PC + 0xA60 /* 00001346 */]
000008E8 7C01 moveq.l D6, 0x01
000008EA 508F addq.l A7, 8
000008EC 6000 015A bra +0x15C /* 00000A48 */
label000008F0:
000008F0 3F2E FFFE move.w -[A7], [A6 - 0x2]
000008F4 A998 syscall UseResFile
000008F6 42A7 clr.l -[A7]
000008F8 2F2E 0010 move.l -[A7], [A6 + 0x10]
000008FC 3F06 move.w -[A7], D6
000008FE A80E syscall Get1IndResource/Get1IxResource
00000900 265F movea.l A3, [A7]+
00000902 2F0B move.l -[A7], A3
00000904 486E FFB2 pea.l [A6 - 0x4E]
00000908 486E FF6E pea.l [A6 - 0x92]
0000090C 486E FE6E pea.l [A6 - 0x192]
00000910 A9A8 syscall GetResInfo
00000912 306E FFB2 movea.w A0, [A6 - 0x4E]
00000916 2F08 move.l -[A7], A0
00000918 486E FF72 pea.l [A6 - 0x8E]
0000091C 4EBA 0FAC jsr [PC + 0xFAC /* 000018CA */]
00000920 4267 clr.w -[A7]
00000922 3F14 move.w -[A7], [A4]
00000924 2F2E FFB4 move.l -[A7], [A6 - 0x4C]
00000928 486E FE6E pea.l [A6 - 0x192]
0000092C 486E FE28 pea.l [A6 - 0x1D8]
00000930 303C 0001 move.w D0, 0x1
00000934 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000936 0C5F FFD5 cmpi.w [A7]+, 0xFFD5
0000093A 6700 0084 beq +0x86 /* 000009C0 */
0000093E 41EE FF73 lea.l A0, [A6 - 0x8D]
00000942 7000 moveq.l D0, 0x00
00000944 102E FE6E move.b D0, [A6 - 0x192]
00000948 43EE FE6F lea.l A1, [A6 - 0x191]
0000094C D089 add.l D0, A1
0000094E 2240 movea.l A1, D0
00000950 7000 moveq.l D0, 0x00
00000952 102E FF72 move.b D0, [A6 - 0x8E]
00000956 A02E syscall BlockMove/BlockMoveData
00000958 102E FF72 move.b D0, [A6 - 0x8E]
0000095C D12E FE6E add.b [A6 - 0x192], D0
00000960 0C2E 001F FE6E cmpi.b [A6 - 0x192], 0x1F
00000966 6326 bls +0x28 /* 0000098E */
00000968 41EE FE18 lea.l A0, [A6 - 0x1E8]
0000096C 1005 move.b D0, D5
0000096E 4880 ext.w D0
00000970 3240 movea.w A1, D0
00000972 200E move.l D0, A6
00000974 0680 FFFF FE8D addi.l D0, 0xFFFFFE8D
0000097A 9089 sub.l D0, A1
0000097C 5280 addq.l D0, 1
0000097E 2240 movea.l A1, D0
00000980 1005 move.b D0, D5
00000982 4880 ext.w D0
00000984 48C0 ext.l D0
00000986 A02E syscall BlockMove/BlockMoveData
00000988 1D7C 001F FE6E move.b [A6 - 0x192], 0x1F
label0000098E:
0000098E 4267 clr.w -[A7]
00000990 3F14 move.w -[A7], [A4]
00000992 2F2E FFB4 move.l -[A7], [A6 - 0x4C]
00000996 486E FE6E pea.l [A6 - 0x192]
0000099A 486E FE28 pea.l [A6 - 0x1D8]
0000099E 303C 0001 move.w D0, 0x1
000009A2 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000009A4 0C5F FFD5 cmpi.w [A7]+, 0xFFD5
000009A8 6716 beq +0x18 /* 000009C0 */
000009AA 2F3C 0008 0100 move.l -[A7], 0x80100
000009B0 486E FE6E pea.l [A6 - 0x192]
000009B4 3F3C 0006 move.w -[A7], 0x6
000009B8 4EBA 05AA jsr [PC + 0x5AA /* 00000F64 */]
000009BC 4FEF 000A lea.l A7, [A7 + 0xA]
label000009C0:
000009C0 486E FE28 pea.l [A6 - 0x1D8]
000009C4 2F3C 534E 2A64 move.l -[A7], 0x534E2A64 /* 'SN*d' */
000009CA 2F2E 000C move.l -[A7], [A6 + 0xC]
000009CE 3F3C FFFF move.w -[A7], 0xFFFF
000009D2 303C 000E move.w D0, 0xE
000009D6 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000009D8 4227 clr.b -[A7]
000009DA 486E FE28 pea.l [A6 - 0x1D8]
000009DE 486E FE16 pea.l [A6 - 0x1EA]
000009E2 3F3C 0002 move.w -[A7], 0x2
000009E6 4EBA 009A jsr [PC + 0x9A /* 00000A82 */]
000009EA 2F0B move.l -[A7], A3
000009EC A992 syscall DetachResource
000009EE 3EAE FE16 move.w [A7], [A6 - 0x1EA]
000009F2 A998 syscall UseResFile
000009F4 2F0B move.l -[A7], A3
000009F6 2F2E FF6E move.l -[A7], [A6 - 0x92]
000009FA 3F2E FFB2 move.w -[A7], [A6 - 0x4E]
000009FE 486E FE6E pea.l [A6 - 0x192]
00000A02 A9AB syscall AddResource
00000A04 2F0B move.l -[A7], A3
00000A06 A9A3 syscall ReleaseResource
00000A08 3F2E FE16 move.w -[A7], [A6 - 0x1EA]
00000A0C A99A syscall CloseResFile
00000A0E 486C 0006 pea.l [A4 + 0x6]
00000A12 486E FE6E pea.l [A6 - 0x192]
00000A16 486E FF72 pea.l [A6 - 0x8E]
00000A1A 486D FF18 pea.l [A5 - 0xE8]
00000A1E A98B syscall ParamText
00000A20 2F2D FF02 move.l -[A7], [A5 - 0xFE]
00000A24 A981 syscall DrawDialog
00000A26 0C6D 0008 FF00 cmpi.w [A5 - 0x100], 0x8
00000A2C 5CC0 sge D0
00000A2E 4400 neg.b D0
00000A30 1F00 move.b -[A7], D0
00000A32 7064 moveq.l D0, 0x64
00000A34 C1C6 muls.w D0, D6
00000A36 48C0 ext.l D0
00000A38 81C7 divs.w D0, D7
00000A3A 3F00 move.w -[A7], D0
00000A3C 486D FF06 pea.l [A5 - 0xFA]
00000A40 4EBA 0904 jsr [PC + 0x904 /* 00001346 */]
00000A44 508F addq.l A7, 8
00000A46 5246 addq.w D6, 1
label00000A48:
00000A48 BE46 cmp.w D7, D6
00000A4A 6C00 FEA4 bge -0x15A /* 000008F0 */
00000A4E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000A52 A99A syscall CloseResFile
00000A54 3F2D FEFE move.w -[A7], [A5 - 0x102]
00000A58 A998 syscall UseResFile
00000A5A 1B7C 0001 FEFC move.b [A5 - 0x104], 0x1
label00000A60:
00000A60 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00000A64 4E5E unlink A6
00000A66 205F movea.l A0, [A7]+
00000A68 4FEF 0010 lea.l A7, [A7 + 0x10]
00000A6C 4ED0 jmp [A0]
00000A6E 9045 sub.w D0, D5
00000A70 7874 moveq.l D4, 0x74
00000A72 7261 moveq.l D1, 0x61
00000A74 6374 bls +0x76 /* 00000AEA */
00000A76 5265 addq.w -[A5], 1
00000A78 736F moveq.l D1, 0x6F
00000A7A 7572 moveq.l D2, 0x72
00000A7C 6365 bls +0x67 /* 00000AE3 */
00000A7E 7300 moveq.l D1, 0x00
00000A80 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000A82-00000A88
fn00000A82:
00000A82 4E56 0000 link A6, 0
00000A86 4267 clr.w -[A7]
// end alternate branch 00000A82-00000A88
fn00000A82: // (misaligned)
00000A84 0000 4267 ori.b D0, 0x67 /* 'g' */
00000A88 2F2E 000E move.l -[A7], [A6 + 0xE]
00000A8C 1F2E 0009 move.b -[A7], [A6 + 0x9]
00000A90 303C 000D move.w D0, 0xD /* '\r' */
00000A94 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000A96 206E 000A movea.l A0, [A6 + 0xA]
00000A9A 301F move.w D0, [A7]+
00000A9C 3080 move.w [A0], D0
00000A9E 5240 addq.w D0, 1
00000AA0 6606 bne +0x8 /* 00000AA8 */
00000AA2 422E 0012 clr.b [A6 + 0x12]
00000AA6 6006 bra +0x8 /* 00000AAE */
label00000AA8:
00000AA8 1D7C 0001 0012 move.b [A6 + 0x12], 0x1
label00000AAE:
00000AAE 4E5E unlink A6
00000AB0 205F movea.l A0, [A7]+
00000AB2 4FEF 000A lea.l A7, [A7 + 0xA]
00000AB6 4ED0 jmp [A0]
00000AB8 8D4F 7065 pack -[A6], -[A7], 0x7065
00000ABC 6E4D bgt +0x4F /* 00000B0B */
00000ABE 7952 moveq.l D4, 0x52
00000AC0 6573 bcs +0x75 /* 00000B35 */
00000AC2 4669 6C65 not.w [A1 + 0x6C65]
00000AC6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000AC8-00000ACC
fn00000AC8:
00000AC8 4E56 FDE4 link A6, -0x021C
// end alternate branch 00000AC8-00000ACC
fn00000AC8: // (misaligned)
00000ACA FDE4 .extension 0xDE4 // unimplemented
00000ACC 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00000AD0 286E 0014 movea.l A4, [A6 + 0x14]
00000AD4 266E 0008 movea.l A3, [A6 + 0x8]
00000AD8 41EE FFF0 lea.l A0, [A6 - 0x10]
00000ADC 43ED FEAC lea.l A1, [A5 - 0x154]
00000AE0 20D9 move.l [A0]+, [A1]+
00000AE2 20D9 move.l [A0]+, [A1]+
00000AE4 20D9 move.l [A0]+, [A1]+
00000AE6 20D9 move.l [A0]+, [A1]+
00000AE8 7C03 moveq.l D6, 0x03
label00000AEA:
00000AEA 45EE FF24 lea.l A2, [A6 - 0xDC]
00000AEE 41EE FDE4 lea.l A0, [A6 - 0x21C]
00000AF2 43ED FEBC lea.l A1, [A5 - 0x144]
00000AF6 700F moveq.l D0, 0x0F
label00000AF8:
00000AF8 20D9 move.l [A0]+, [A1]+
00000AFA 51C8 FFFC dbf D0, -0x6 /* 00000AF8 */
00000AFE 1D7C 000D FDE9 move.b [A6 - 0x217], 0xD /* '\r' */
00000B04 1D7C 0005 FDE4 move.b [A6 - 0x21C], 0x5
00000B0A 41EC 0007 lea.l A0, [A4 + 0x7]
00000B0E 7000 moveq.l D0, 0x00
00000B10 1013 move.b D0, [A3]
00000B12 43F3 0801 lea.l A1, [A3 + D0 + 0x1]
00000B16 7000 moveq.l D0, 0x00
00000B18 102C 0006 move.b D0, [A4 + 0x6]
00000B1C A02E syscall BlockMove/BlockMoveData
00000B1E 102C 0006 move.b D0, [A4 + 0x6]
00000B22 D113 add.b [A3], D0
00000B24 0C13 001F cmpi.b [A3], 0x1F
00000B28 6320 bls +0x22 /* 00000B4A */
00000B2A 41EE FFF0 lea.l A0, [A6 - 0x10]
00000B2E 1006 move.b D0, D6
00000B30 4880 ext.w D0
00000B32 3240 movea.w A1, D0
00000B34 701F moveq.l D0, 0x1F
00000B36 D08B add.l D0, A3
00000B38 9089 sub.l D0, A1
00000B3A 5280 addq.l D0, 1
00000B3C 2240 movea.l A1, D0
00000B3E 1006 move.b D0, D6
00000B40 4880 ext.w D0
00000B42 48C0 ext.l D0
00000B44 A02E syscall BlockMove/BlockMoveData
00000B46 16BC 001F move.b [A3], 0x1F
label00000B4A:
00000B4A 4267 clr.w -[A7]
00000B4C 3F14 move.w -[A7], [A4]
00000B4E 2F2C 0002 move.l -[A7], [A4 + 0x2]
00000B52 2F0B move.l -[A7], A3
00000B54 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000B58 303C 0001 move.w D0, 0x1
00000B5C AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000B5E 3E1F move.w D7, [A7]+
00000B60 6618 bne +0x1A /* 00000B7A */
00000B62 2F3C 0005 0000 move.l -[A7], 0x50000
00000B68 2F0B move.l -[A7], A3
00000B6A 3F3C 0004 move.w -[A7], 0x4
00000B6E 4EBA 03F4 jsr [PC + 0x3F4 /* 00000F64 */]
00000B72 422E 0018 clr.b [A6 + 0x18]
00000B76 6000 02BC bra +0x2BE /* 00000E34 */
label00000B7A:
00000B7A 0C47 FFD5 cmpi.w D7, 0xFFD5
00000B7E 6718 beq +0x1A /* 00000B98 */
00000B80 2F3C 0008 0000 move.l -[A7], 0x80000
00000B86 2F0B move.l -[A7], A3
00000B88 3F3C 0007 move.w -[A7], 0x7
00000B8C 4EBA 03D6 jsr [PC + 0x3D6 /* 00000F64 */]
00000B90 422E 0018 clr.b [A6 + 0x18]
00000B94 6000 029E bra +0x2A0 /* 00000E34 */
label00000B98:
00000B98 4267 clr.w -[A7]
00000B9A 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000B9E 3F3C FFFF move.w -[A7], 0xFFFF
00000BA2 2F2E 000C move.l -[A7], [A6 + 0xC]
00000BA6 303C 0005 move.w D0, 0x5
00000BAA AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000BAC 4A5F tst.w [A7]+
00000BAE 6718 beq +0x1A /* 00000BC8 */
00000BB0 2F3C 0008 0000 move.l -[A7], 0x80000
00000BB6 2F0B move.l -[A7], A3
00000BB8 3F3C 0007 move.w -[A7], 0x7
00000BBC 4EBA 03A6 jsr [PC + 0x3A6 /* 00000F64 */]
00000BC0 422E 0018 clr.b [A6 + 0x18]
00000BC4 6000 026E bra +0x270 /* 00000E34 */
label00000BC8:
00000BC8 254B 0012 move.l [A2 + 0x12], A3
00000BCC 3554 0016 move.w [A2 + 0x16], [A4]
00000BD0 426A 001C clr.w [A2 + 0x1C]
00000BD4 256C 0002 0030 move.l [A2 + 0x30], [A4 + 0x2]
00000BDA 4267 clr.w -[A7]
00000BDC 486E FF24 pea.l [A6 - 0xDC]
00000BE0 4227 clr.b -[A7]
00000BE2 4EBA 0CBA jsr [PC + 0xCBA /* 0000189E */]
00000BE6 4A5F tst.w [A7]+
00000BE8 661A bne +0x1C /* 00000C04 */
00000BEA 256C 0002 0030 move.l [A2 + 0x30], [A4 + 0x2]
00000BF0 006A 0400 0028 ori.w [A2 + 0x28], 0x400
00000BF6 4267 clr.w -[A7]
00000BF8 486E FF24 pea.l [A6 - 0xDC]
00000BFC 4227 clr.b -[A7]
00000BFE 4EBA 0CB4 jsr [PC + 0xCB4 /* 000018B4 */]
00000C02 548F addq.l A7, 2
label00000C04:
00000C04 3F2D FEFE move.w -[A7], [A5 - 0x102]
00000C08 A998 syscall UseResFile
00000C0A 4267 clr.w -[A7]
00000C0C 486E FFEC pea.l [A6 - 0x14]
00000C10 3F3C 00C8 move.w -[A7], 0xC8
00000C14 4878 FFFF push.l 0xFFFF
00000C18 303C 0501 move.w D0, 0x501
00000C1C ABC9 syscall IconDispatch
00000C1E 4A5F tst.w [A7]+
00000C20 6600 020C bne +0x20E /* 00000E2E */
00000C24 4267 clr.w -[A7]
00000C26 3F14 move.w -[A7], [A4]
00000C28 206E 000C movea.l A0, [A6 + 0xC]
00000C2C 2F10 move.l -[A7], [A0]
00000C2E 486E FDE4 pea.l [A6 - 0x21C]
00000C32 486E FFA2 pea.l [A6 - 0x5E]
00000C36 303C 0001 move.w D0, 0x1
00000C3A AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000C3C 0C5F FFD5 cmpi.w [A7]+, 0xFFD5
00000C40 6600 01DA bne +0x1DC /* 00000E1C */
00000C44 486E FFA2 pea.l [A6 - 0x5E]
00000C48 42A7 clr.l -[A7]
00000C4A 42A7 clr.l -[A7]
00000C4C 3F3C FFFF move.w -[A7], 0xFFFF
00000C50 303C 000E move.w D0, 0xE
00000C54 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000C56 4267 clr.w -[A7]
00000C58 A9AF syscall ResError
00000C5A 4A5F tst.w [A7]+
00000C5C 6600 01BE bne +0x1C0 /* 00000E1C */
00000C60 4227 clr.b -[A7]
00000C62 486E FFA2 pea.l [A6 - 0x5E]
00000C66 486E FFA0 pea.l [A6 - 0x60]
00000C6A 3F3C 0002 move.w -[A7], 0x2
00000C6E 4EBA FE12 jsr [PC - 0x1EE /* 00000A82 */]
00000C72 4257 clr.w [A7]
00000C74 A9AF syscall ResError
00000C76 4A5F tst.w [A7]+
00000C78 6600 01A2 bne +0x1A4 /* 00000E1C */
00000C7C 3F2E FFA0 move.w -[A7], [A6 - 0x60]
00000C80 A998 syscall UseResFile
00000C82 4267 clr.w -[A7]
00000C84 486E FFE8 pea.l [A6 - 0x18]
00000C88 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C8C 2F3C 6963 6C38 move.l -[A7], 0x69636C38 /* 'icl8' */
00000C92 303C 0609 move.w D0, 0x609
00000C96 ABC9 syscall IconDispatch
00000C98 4A5F tst.w [A7]+
00000C9A 6606 bne +0x8 /* 00000CA2 */
00000C9C 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000CA0 A992 syscall DetachResource
label00000CA2:
00000CA2 4267 clr.w -[A7]
00000CA4 A9AF syscall ResError
00000CA6 4A5F tst.w [A7]+
00000CA8 6614 bne +0x16 /* 00000CBE */
00000CAA 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000CAE 2F3C 6963 6C38 move.l -[A7], 0x69636C38 /* 'icl8' */
00000CB4 3F3C BFB9 move.w -[A7], 0xBFB9
00000CB8 486D FF1A pea.l [A5 - 0xE6]
00000CBC A9AB syscall AddResource
label00000CBE:
00000CBE 4267 clr.w -[A7]
00000CC0 486E FFE8 pea.l [A6 - 0x18]
00000CC4 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000CC8 2F3C 6963 6C34 move.l -[A7], 0x69636C34 /* 'icl4' */
00000CCE 303C 0609 move.w D0, 0x609
00000CD2 ABC9 syscall IconDispatch
00000CD4 4A5F tst.w [A7]+
00000CD6 6606 bne +0x8 /* 00000CDE */
00000CD8 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000CDC A992 syscall DetachResource
label00000CDE:
00000CDE 4267 clr.w -[A7]
00000CE0 A9AF syscall ResError
00000CE2 4A5F tst.w [A7]+
00000CE4 6614 bne +0x16 /* 00000CFA */
00000CE6 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000CEA 2F3C 6963 6C34 move.l -[A7], 0x69636C34 /* 'icl4' */
00000CF0 3F3C BFB9 move.w -[A7], 0xBFB9
00000CF4 486D FF1C pea.l [A5 - 0xE4]
00000CF8 A9AB syscall AddResource
label00000CFA:
00000CFA 4267 clr.w -[A7]
00000CFC 486E FFE8 pea.l [A6 - 0x18]
00000D00 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000D04 2F3C 6963 7338 move.l -[A7], 0x69637338 /* 'ics8' */
00000D0A 303C 0609 move.w D0, 0x609
00000D0E ABC9 syscall IconDispatch
00000D10 4A5F tst.w [A7]+
00000D12 6606 bne +0x8 /* 00000D1A */
00000D14 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000D18 A992 syscall DetachResource
label00000D1A:
00000D1A 4267 clr.w -[A7]
00000D1C A9AF syscall ResError
00000D1E 4A5F tst.w [A7]+
00000D20 6614 bne +0x16 /* 00000D36 */
00000D22 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000D26 2F3C 6963 7338 move.l -[A7], 0x69637338 /* 'ics8' */
00000D2C 3F3C BFB9 move.w -[A7], 0xBFB9
00000D30 486D FF1E pea.l [A5 - 0xE2]
00000D34 A9AB syscall AddResource
label00000D36:
00000D36 4267 clr.w -[A7]
00000D38 486E FFE8 pea.l [A6 - 0x18]
00000D3C 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000D40 2F3C 6963 7334 move.l -[A7], 0x69637334 /* 'ics4' */
00000D46 303C 0609 move.w D0, 0x609
00000D4A ABC9 syscall IconDispatch
00000D4C 4A5F tst.w [A7]+
00000D4E 6606 bne +0x8 /* 00000D56 */
00000D50 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000D54 A992 syscall DetachResource
label00000D56:
00000D56 4267 clr.w -[A7]
00000D58 A9AF syscall ResError
00000D5A 4A5F tst.w [A7]+
00000D5C 6614 bne +0x16 /* 00000D72 */
00000D5E 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000D62 2F3C 6963 7334 move.l -[A7], 0x69637334 /* 'ics4' */
00000D68 3F3C BFB9 move.w -[A7], 0xBFB9
00000D6C 486D FF20 pea.l [A5 - 0xE0]
00000D70 A9AB syscall AddResource
label00000D72:
00000D72 4267 clr.w -[A7]
00000D74 486E FFE8 pea.l [A6 - 0x18]
00000D78 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000D7C 2F3C 4943 4E23 move.l -[A7], 0x49434E23 /* 'ICN#' */
00000D82 303C 0609 move.w D0, 0x609
00000D86 ABC9 syscall IconDispatch
00000D88 4A5F tst.w [A7]+
00000D8A 6606 bne +0x8 /* 00000D92 */
00000D8C 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000D90 A992 syscall DetachResource
label00000D92:
00000D92 4267 clr.w -[A7]
00000D94 A9AF syscall ResError
00000D96 4A5F tst.w [A7]+
00000D98 6614 bne +0x16 /* 00000DAE */
00000D9A 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000D9E 2F3C 4943 4E23 move.l -[A7], 0x49434E23 /* 'ICN#' */
00000DA4 3F3C BFB9 move.w -[A7], 0xBFB9
00000DA8 486D FF22 pea.l [A5 - 0xDE]
00000DAC A9AB syscall AddResource
label00000DAE:
00000DAE 4267 clr.w -[A7]
00000DB0 486E FFE8 pea.l [A6 - 0x18]
00000DB4 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000DB8 2F3C 6963 7323 move.l -[A7], 0x69637323 /* 'ics#' */
00000DBE 303C 0609 move.w D0, 0x609
00000DC2 ABC9 syscall IconDispatch
00000DC4 4A5F tst.w [A7]+
00000DC6 6606 bne +0x8 /* 00000DCE */
00000DC8 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000DCC A992 syscall DetachResource
label00000DCE:
00000DCE 4267 clr.w -[A7]
00000DD0 A9AF syscall ResError
00000DD2 4A5F tst.w [A7]+
00000DD4 6614 bne +0x16 /* 00000DEA */
00000DD6 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000DDA 2F3C 6963 7323 move.l -[A7], 0x69637323 /* 'ics#' */
00000DE0 3F3C BFB9 move.w -[A7], 0xBFB9
00000DE4 486D FF24 pea.l [A5 - 0xDC]
00000DE8 A9AB syscall AddResource
label00000DEA:
00000DEA 3F2E FFA0 move.w -[A7], [A6 - 0x60]
00000DEE A99A syscall CloseResFile
00000DF0 4267 clr.w -[A7]
00000DF2 486E FFA2 pea.l [A6 - 0x5E]
00000DF6 486E FF90 pea.l [A6 - 0x70]
00000DFA 303C 0007 move.w D0, 0x7
00000DFE AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000E00 4A5F tst.w [A7]+
00000E02 6618 bne +0x1A /* 00000E1C */
00000E04 006E 4000 FF98 ori.w [A6 - 0x68], 0x4000 /* '@\0' */
00000E0A 4267 clr.w -[A7]
00000E0C 486E FFA2 pea.l [A6 - 0x5E]
00000E10 486E FF90 pea.l [A6 - 0x70]
00000E14 303C 0008 move.w D0, 0x8
00000E18 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000E1A 548F addq.l A7, 2
label00000E1C:
00000E1C 4267 clr.w -[A7]
00000E1E 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000E22 1F3C 0001 move.b -[A7], 0x1
00000E26 303C 0302 move.w D0, 0x302
00000E2A ABC9 syscall IconDispatch
00000E2C 548F addq.l A7, 2
label00000E2E:
00000E2E 1D7C 0001 0018 move.b [A6 + 0x18], 0x1
label00000E34:
00000E34 4CEE 1CC0 FDD0 movem.l D6,D7,A2,A3,A4, [A6 - 0x230]
00000E3A 4E5E unlink A6
00000E3C 205F movea.l A0, [A7]+
00000E3E 4FEF 0010 lea.l A7, [A7 + 0x10]
00000E42 4ED0 jmp [A0]
00000E44 904D sub.w D0, A5
00000E46 616B bsr +0x6D /* 00000EB3 */
00000E48 654E bcs +0x50 /* 00000E98 */
00000E4A 6577 bcs +0x79 /* 00000EC3 */
00000E4C 4469 7265 neg.w [A1 + 0x7265]
00000E50 6374 bls +0x76 /* 00000EC6 */
00000E52 6F72 ble +0x74 /* 00000EC6 */
00000E54 7900 moveq.l D4, 0x00
00000E56 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000E58-00000E60
fn00000E58:
00000E58 4E56 0000 link A6, 0
00000E5C 3F2D FEFE move.w -[A7], [A5 - 0x102]
// end alternate branch 00000E58-00000E60
fn00000E58: // (misaligned)
00000E5A 0000 3F2D ori.b D0, 0x2D /* '-' */
00000E5E FEFE .extension 0xEFE // unimplemented
00000E60 A998 syscall UseResFile
00000E62 486D FF26 pea.l [A5 - 0xDA]
00000E66 486D FF28 pea.l [A5 - 0xD8]
00000E6A 486D FF2A pea.l [A5 - 0xD6]
00000E6E 486D FF2C pea.l [A5 - 0xD4]
00000E72 A98B syscall ParamText
00000E74 2F2D FF02 move.l -[A7], [A5 - 0xFE]
00000E78 A983 syscall DisposeDialog
00000E7A 2F2D FF0E move.l -[A7], [A5 - 0xF2]
00000E7E A873 syscall SetPort
00000E80 A850 syscall InitCursor
00000E82 4A2D FEFC tst.b [A5 - 0x104]
00000E86 660C bne +0xE /* 00000E94 */
00000E88 2F3C 0064 0003 move.l -[A7], 0x640003
00000E8E 4EBA 0136 jsr [PC + 0x136 /* 00000FC6 */]
00000E92 588F addq.l A7, 4
label00000E94:
00000E94 4A2D FD65 tst.b [A5 - 0x29B]
label00000E98:
00000E98 6706 beq +0x8 /* 00000EA0 */
00000E9A 2F2D FD80 move.l -[A7], [A5 - 0x280]
00000E9E A915 syscall ShowWindow
label00000EA0:
00000EA0 4A2E 000C tst.b [A6 + 0xC]
00000EA4 670C beq +0xE /* 00000EB2 */
00000EA6 4A2D FD65 tst.b [A5 - 0x29B]
00000EAA 6606 bne +0x8 /* 00000EB2 */
00000EAC 1B7C 0001 FD64 move.b [A5 - 0x29C], 0x1
label00000EB2:
00000EB2 4E5E unlink A6
00000EB4 205F movea.l A0, [A7]+
00000EB6 5C8F addq.l A7, 6
00000EB8 4ED0 jmp [A0]
00000EBA 8E50 or.w D7, [A0]
00000EBC 6F73 ble +0x75 /* 00000F31 */
00000EBE 7446 moveq.l D2, 0x46
00000EC0 6C69 bge +0x6B /* 00000F2B */
00000EC2 6768 beq +0x6A /* 00000F2C */
00000EC4 7444 moveq.l D2, 0x44
label00000EC6:
00000EC6 6F63 ble +0x65 /* 00000F2B */
00000EC8 7300 moveq.l D1, 0x00
00000ECA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000ECC-00000ED0
fn00000ECC:
00000ECC 4E56 FF98 link A6, -0x0068
// end alternate branch 00000ECC-00000ED0
fn00000ECC: // (misaligned)
00000ECE FF98 .extension 0xF98 // unimplemented
00000ED0 4A2D FD65 tst.b [A5 - 0x29B]
00000ED4 6706 beq +0x8 /* 00000EDC */
00000ED6 2F2D FD80 move.l -[A7], [A5 - 0x280]
00000EDA A916 syscall HideWindow
label00000EDC:
00000EDC 42A7 clr.l -[A7]
00000EDE 3F3C FFFF move.w -[A7], 0xFFFF
00000EE2 486E FF98 pea.l [A6 - 0x68]
00000EE6 486E FFA8 pea.l [A6 - 0x58]
00000EEA 3F3C 0006 move.w -[A7], 0x6
00000EEE A9EA syscall Pack3
00000EF0 4A2E FFA8 tst.b [A6 - 0x58]
00000EF4 670A beq +0xC /* 00000F00 */
00000EF6 486E FFAE pea.l [A6 - 0x52]
00000EFA 4EBA 034C jsr [PC + 0x34C /* 00001248 */]
00000EFE 588F addq.l A7, 4
label00000F00:
00000F00 4A2D FD65 tst.b [A5 - 0x29B]
00000F04 6706 beq +0x8 /* 00000F0C */
00000F06 2F2D FD80 move.l -[A7], [A5 - 0x280]
00000F0A A915 syscall ShowWindow
label00000F0C:
00000F0C 4E5E unlink A6
00000F0E 4E75 rts
00000F10 8A53 or.w D5, [A3]
00000F12 656C bcs +0x6E /* 00000F80 */
00000F14 6563 bcs +0x65 /* 00000F79 */
00000F16 7446 moveq.l D2, 0x46
00000F18 696C bvs +0x6E /* 00000F86 */
00000F1A 6500 0000 bcs +0x2 /* 00000F1C */
// begin alternate branch 00000F1C-00000F24
label00000F1C:
00000F1C 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000F1E: // (misaligned)
00000F20 0000 4267 ori.b D0, 0x67 /* 'g' */
// end alternate branch 00000F1C-00000F24
label00000F1C: // (misaligned)
fn00000F1E:
00000F1E 4E56 0000 link A6, 0
00000F22 4267 clr.w -[A7]
00000F24 A994 syscall CurResFile
00000F26 3B5F FEFE move.w [A5 - 0x102], [A7]+
00000F2A 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
// begin alternate branch 00000F2C-00000F30
label00000F2C:
00000F2C 0001 0008 ori.b D1, 0x8
// end alternate branch 00000F2C-00000F30
label00000F2C: // (misaligned)
00000F30 4E5E unlink A6
00000F32 4E75 rts
00000F34 8F49 6E69 pack -[A7], -[A1], 0x6E69
00000F38 7455 moveq.l D2, 0x55
00000F3A 7365 moveq.l D1, 0x65
00000F3C 7247 moveq.l D1, 0x47
00000F3E 6C6F bge +0x71 /* 00000FAF */
00000F40 6261 bhi +0x63 /* 00000FA3 */
00000F42 6C73 bge +0x75 /* 00000FB7 */
00000F44 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000F46-00000F4C
fn00000F46:
00000F46 4E56 0000 link A6, 0
00000F4A 4E5E unlink A6
// end alternate branch 00000F46-00000F4C
fn00000F46: // (misaligned)
00000F48 0000 4E5E ori.b D0, 0x5E /* '^' */
00000F4C 4E75 rts
00000F4E 9244 sub.w D1, D4
00000F50 6973 bvs +0x75 /* 00000FC5 */
00000F52 706F moveq.l D0, 0x6F
00000F54 7365 moveq.l D1, 0x65
00000F56 5573 6572 476C 6F62 616C subq.w [[A3 + 0x476C6F62] + 0x616C], 2
00000F60 7300 moveq.l D1, 0x00
00000F62 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000F64-00000F68
fn00000F64:
00000F64 4E56 FE00 link A6, -0x0200
// end alternate branch 00000F64-00000F68
fn00000F64: // (misaligned)
00000F66 FE00 .extension 0xE00 // unimplemented
00000F68 3F2D FEFE move.w -[A7], [A5 - 0x102]
00000F6C A998 syscall UseResFile
00000F6E A850 syscall InitCursor
00000F70 486E FF00 pea.l [A6 - 0x100]
00000F74 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000F78 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000F7C 4EBA 095E jsr [PC + 0x95E /* 000018DC */]
label00000F80:
00000F80 486E FE00 pea.l [A6 - 0x200]
00000F84 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
// begin alternate branch 00000F86-00000F90
label00000F86:
00000F86 0064 3F2E ori.w -[A4], 0x3F2E /* '?.' */
00000F8A 000E 4EBA ori.b A6, 0xBA
00000F8E 094E bchg A6, D4
// end alternate branch 00000F86-00000F90
label00000F86: // (misaligned)
00000F88 3F2E 000E move.w -[A7], [A6 + 0xE]
00000F8C 4EBA 094E jsr [PC + 0x94E /* 000018DC */]
00000F90 486E FF00 pea.l [A6 - 0x100]
00000F94 2F2E 000A move.l -[A7], [A6 + 0xA]
00000F98 486E FE00 pea.l [A6 - 0x200]
00000F9C 42A7 clr.l -[A7]
00000F9E A98B syscall ParamText
00000FA0 4267 clr.w -[A7]
00000FA2 3F3C 00C8 move.w -[A7], 0xC8
00000FA6 42A7 clr.l -[A7]
00000FA8 A985 syscall Alert
00000FAA 4A2E 0010 tst.b [A6 + 0x10]
00000FAE 548F addq.l A7, 2
00000FB0 6702 beq +0x4 /* 00000FB4 */
00000FB2 A9F4 syscall ExitToShell
label00000FB4:
00000FB4 4E5E unlink A6
00000FB6 4E75 rts
00000FB8 8A45 or.w D5, D5
00000FBA 7272 moveq.l D1, 0x72
00000FBC 6F72 ble +0x74 /* 00001030 */
00000FBE 416C 6572 chk.w D0, [A4 + 0x6572]
00000FC2 7400 moveq.l D2, 0x00
00000FC4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000FC6-00000FCA
fn00000FC6:
00000FC6 4E56 FF00 link A6, -0x0100
// end alternate branch 00000FC6-00000FCA
fn00000FC6: // (misaligned)
00000FC8 FF00 .extension 0xF00 // unimplemented
00000FCA 3F2D FEFE move.w -[A7], [A5 - 0x102]
00000FCE A998 syscall UseResFile
00000FD0 486E FF00 pea.l [A6 - 0x100]
00000FD4 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000FD8 3F2E 000A move.w -[A7], [A6 + 0xA]
00000FDC 4EBA 08FE jsr [PC + 0x8FE /* 000018DC */]
00000FE0 486E FF00 pea.l [A6 - 0x100]
00000FE4 42A7 clr.l -[A7]
00000FE6 42A7 clr.l -[A7]
00000FE8 42A7 clr.l -[A7]
00000FEA A98B syscall ParamText
00000FEC 4267 clr.w -[A7]
00000FEE 3F3C 0081 move.w -[A7], 0x81
00000FF2 42A7 clr.l -[A7]
00000FF4 A985 syscall Alert
00000FF6 4E5E unlink A6
00000FF8 4E75 rts
00000FFA 8949 6E66 pack -[A4], -[A1], 0x6E66
00000FFE 6F41 ble +0x43 /* 00001041 */
00001000 6C65 bge +0x67 /* 00001067 */
00001002 7274 moveq.l D1, 0x74
00001004 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001008 FFBC .extension 0xFBC // unimplemented
0000100A 2F07 move.l -[A7], D7
0000100C 4267 clr.w -[A7]
0000100E 486E FFBC pea.l [A6 - 0x44]
00001012 3F3C 0037 move.w -[A7], 0x37 /* '7' */
00001016 A88F syscall OSDispatch
00001018 3E1F move.w D7, [A7]+
0000101A 703C moveq.l D0, 0x3C
0000101C 2D40 FFC4 move.l [A6 - 0x3C], D0
00001020 2D6E 0008 FFC8 move.l [A6 - 0x38], [A6 + 0x8]
00001026 42AE FFFC clr.l [A6 - 0x4]
0000102A 4267 clr.w -[A7]
0000102C 486E FFBC pea.l [A6 - 0x44]
label00001030:
00001030 486E FFC4 pea.l [A6 - 0x3C]
00001034 3F3C 003A move.w -[A7], 0x3A /* ':' */
00001038 A88F syscall OSDispatch
0000103A 3E1F move.w D7, [A7]+
0000103C 2E1F move.l D7, [A7]+
0000103E 4E5E unlink A6
00001040 4E75 rts
00001042 8A47 or.w D5, D7
00001044 6574 bcs +0x76 /* 000010BA */
00001046 4170 704E chk.w D0, [A0 + D7.w + 0x4E]
0000104A 616D bsr +0x6F /* 000010B9 */
0000104C 6500 0000 bcs +0x2 /* 0000104E */
// begin alternate branch 0000104E-00001054
label0000104E:
0000104E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001052 FEBC .extension 0xEBC // unimplemented
// end alternate branch 0000104E-00001054
label0000104E: // (misaligned)
00001050 4E56 FEBC link A6, -0x0144
00001054 2F07 move.l -[A7], D7
00001056 4267 clr.w -[A7]
00001058 486E FEBC pea.l [A6 - 0x144]
0000105C 3F3C 0037 move.w -[A7], 0x37 /* '7' */
00001060 A88F syscall OSDispatch
00001062 3E1F move.w D7, [A7]+
00001064 703C moveq.l D0, 0x3C
00001066 2D40 FEC4 move.l [A6 - 0x13C], D0
0000106A 41EE FF00 lea.l A0, [A6 - 0x100]
0000106E 2D48 FEC8 move.l [A6 - 0x138], A0
00001072 2D6E 0008 FEFC move.l [A6 - 0x104], [A6 + 0x8]
00001078 4267 clr.w -[A7]
0000107A 486E FEBC pea.l [A6 - 0x144]
0000107E 486E FEC4 pea.l [A6 - 0x13C]
00001082 3F3C 003A move.w -[A7], 0x3A /* ':' */
00001086 A88F syscall OSDispatch
00001088 3E1F move.w D7, [A7]+
0000108A 2E1F move.l D7, [A7]+
0000108C 4E5E unlink A6
0000108E 4E75 rts
00001090 8C47 or.w D6, D7
00001092 6574 bcs +0x76 /* 00001108 */
00001094 4170 7046 chk.w D0, [A0 + D7.w + 0x46]
00001098 5353 subq.w [A3], 1
0000109A 7065 moveq.l D0, 0x65
0000109C 6300 0000 bls +0x2 /* 0000109E */
// begin alternate branch 0000109E-000010A4
label0000109E:
0000109E 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000010A0: // (misaligned)
000010A2 FFF8 .extension 0xFF8 // unimplemented
// end alternate branch 0000109E-000010A4
label0000109E: // (misaligned)
fn000010A0:
000010A0 4E56 FFF8 link A6, -0x0008
000010A4 42AE FFF8 clr.l [A6 - 0x8]
000010A8 7002 moveq.l D0, 0x02
000010AA 2D40 FFFC move.l [A6 - 0x4], D0
000010AE 4267 clr.w -[A7]
000010B0 2F3C 7073 6E20 move.l -[A7], 0x70736E20 /* 'psn ' */
000010B6 486E FFF8 pea.l [A6 - 0x8]
label000010BA:
000010BA 4878 0008 push.l 0x8
000010BE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000010C2 303C 0825 move.w D0, 0x825
000010C6 A816 syscall Pack8
000010C8 301F move.w D0, [A7]+
000010CA 4E5E unlink A6
000010CC 4E75 rts
000010CE 9147 subx.w D0, D7
000010D0 6574 bcs +0x76 /* 00001146 */
000010D2 5461 addq.w -[A1], 2
000010D4 7267 moveq.l D1, 0x67
000010D6 6574 bcs +0x76 /* 0000114C */
000010D8 4672 6F6D not.w <<invalid full ext with IS == 1 and I/IS == 5>>
000010DC 5365 subq.w -[A5], 1
000010DE 6C66 bge +0x68 /* 00001146 */
000010E0 0000 4E56 ori.b D0, 0x56 /* 'V' */
000010E4 0000 4267 ori.b D0, 0x67 /* 'g' */
000010E8 2F3C 7369 676E move.l -[A7], 0x7369676E /* 'sign' */
000010EE 486E 0008 pea.l [A6 + 0x8]
000010F2 4878 0004 push.l 0x4
000010F6 2F2E 000C move.l -[A7], [A6 + 0xC]
000010FA 303C 0825 move.w D0, 0x825
000010FE A816 syscall Pack8
00001100 301F move.w D0, [A7]+
00001102 4E5E unlink A6
00001104 4E75 rts
00001106 9647 sub.w D3, D7
label00001108:
00001108 6574 bcs +0x76 /* 0000117E */
0000110A 5461 addq.w -[A1], 2
0000110C 7267 moveq.l D1, 0x67
0000110E 6574 bcs +0x76 /* 00001184 */
00001110 4672 6F6D not.w <<invalid full ext with IS == 1 and I/IS == 5>>
00001114 5369 676E subq.w [A1 + 0x676E], 1
00001118 6174 bsr +0x76 /* 0000118E */
0000111A 7572 moveq.l D2, 0x72
0000111C 6500 0000 bcs +0x2 /* 0000111E */
// begin alternate branch 0000111E-00001124
label0000111E:
0000111E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001122 FEBA .extension 0xEBA // unimplemented
// end alternate branch 0000111E-00001124
label0000111E: // (misaligned)
00001120 4E56 FEBA link A6, -0x0146
00001124 2F07 move.l -[A7], D7
00001126 4267 clr.w -[A7]
00001128 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000112C 486D FF2E pea.l [A5 - 0xD2]
00001130 4227 clr.b -[A7]
00001132 486E FF50 pea.l [A6 - 0xB0]
00001136 486E FEBA pea.l [A6 - 0x146]
0000113A 42A7 clr.l -[A7]
0000113C 486D FF30 pea.l [A5 - 0xD0]
00001140 303C 0D00 move.w D0, 0xD00 /* '\r\0' */
00001144 A82B syscall Pack9
label00001146:
00001146 3E1F move.w D7, [A7]+
00001148 4A47 tst.w D7
0000114A 662C bne +0x2E /* 00001178 */
label0000114C:
0000114C 41EE FF08 lea.l A0, [A6 - 0xF8]
00001150 43EE FEBC lea.l A1, [A6 - 0x144]
00001154 7011 moveq.l D0, 0x11
label00001156:
00001156 20D9 move.l [A0]+, [A1]+
00001158 51C8 FFFC dbf D0, -0x6 /* 00001156 */
0000115C 4267 clr.w -[A7]
0000115E 2F3C 7461 7267 move.l -[A7], 0x74617267 /* 'targ' */
00001164 486E FF04 pea.l [A6 - 0xFC]
00001168 4878 00FC push.l 0xFC
0000116C 2F2E 000C move.l -[A7], [A6 + 0xC]
00001170 303C 0825 move.w D0, 0x825
00001174 A816 syscall Pack8
00001176 3E1F move.w D7, [A7]+
label00001178:
00001178 3007 move.w D0, D7
0000117A 2E1F move.l D7, [A7]+
0000117C 4E5E unlink A6
label0000117E:
0000117E 4E75 rts
00001180 9447 sub.w D2, D7
00001182 6574 bcs +0x76 /* 000011F8 */
label00001184:
00001184 5461 addq.w -[A1], 2
00001186 7267 moveq.l D1, 0x67
00001188 6574 bcs +0x76 /* 000011FE */
0000118A 4672 6F6D not.w <<invalid full ext with IS == 1 and I/IS == 5>>
fn0000118E:
0000118E 4272 6F77 clr.w <<invalid full ext with IS == 1 and I/IS == 7>>
00001192 7365 moveq.l D1, 0x65
00001194 7200 moveq.l D1, 0x00
00001196 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001198-0000119C
fn00001198:
00001198 4E56 FFE8 link A6, -0x0018
// end alternate branch 00001198-0000119C
fn00001198: // (misaligned)
0000119A FFE8 .extension 0xFE8 // unimplemented
0000119C 2F07 move.l -[A7], D7
0000119E 486E FFF8 pea.l [A6 - 0x8]
000011A2 4EBA FEFC jsr [PC - 0x104 /* 000010A0 */]
000011A6 3E00 move.w D7, D0
000011A8 4A47 tst.w D7
000011AA 588F addq.l A7, 4
000011AC 6600 0082 bne +0x84 /* 00001230 */
000011B0 4267 clr.w -[A7]
000011B2 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
000011B8 2F3C 6F64 6F63 move.l -[A7], 0x6F646F63 /* 'odoc' */
000011BE 486E FFF8 pea.l [A6 - 0x8]
000011C2 3F3C FFFF move.w -[A7], 0xFFFF
000011C6 42A7 clr.l -[A7]
000011C8 486E FFF0 pea.l [A6 - 0x10]
000011CC 303C 0B14 move.w D0, 0xB14
000011D0 A816 syscall Pack8
000011D2 3E1F move.w D7, [A7]+
000011D4 4A47 tst.w D7
000011D6 664A bne +0x4C /* 00001222 */
000011D8 4267 clr.w -[A7]
000011DA 486E FFF0 pea.l [A6 - 0x10]
000011DE 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
000011E4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000011E8 303C 0610 move.w D0, 0x610
000011EC A816 syscall Pack8
000011EE 3E1F move.w D7, [A7]+
000011F0 4A47 tst.w D7
000011F2 6620 bne +0x22 /* 00001214 */
000011F4 4267 clr.w -[A7]
000011F6 486E FFF0 pea.l [A6 - 0x10]
// begin alternate branch 000011F8-000011FA
label000011F8:
000011F8 FFF0 .extension 0xFF0 // unimplemented
// end alternate branch 000011F8-000011FA
label000011F8: // (misaligned)
000011FA 486E FFE8 pea.l [A6 - 0x18]
label000011FE:
000011FE 4878 0021 push.l 0x21 /* '!' */
00001202 4267 clr.w -[A7]
00001204 4878 0E10 push.l 0xE10
00001208 42A7 clr.l -[A7]
0000120A 42A7 clr.l -[A7]
0000120C 303C 0D17 move.w D0, 0xD17
00001210 A816 syscall Pack8
00001212 3E1F move.w D7, [A7]+
label00001214:
00001214 4267 clr.w -[A7]
00001216 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000121A 303C 0204 move.w D0, 0x204
0000121E A816 syscall Pack8
00001220 3E1F move.w D7, [A7]+
label00001222:
00001222 4267 clr.w -[A7]
00001224 486E FFF0 pea.l [A6 - 0x10]
00001228 303C 0204 move.w D0, 0x204
0000122C A816 syscall Pack8
0000122E 3E1F move.w D7, [A7]+
label00001230:
00001230 2E1F move.l D7, [A7]+
00001232 4E5E unlink A6
00001234 4E75 rts
00001236 8F5F or.w [A7]+, D7
00001238 5365 subq.w -[A5], 1
0000123A 6E64 bgt +0x66 /* 000012A0 */
0000123C 446F 6373 neg.w [A7 + 0x6373]
00001240 546F 5365 addq.w [A7 + 0x5365], 2
00001244 6C66 bge +0x68 /* 000012AC */
00001246 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001248-0000124C
fn00001248:
00001248 4E56 FFEC link A6, -0x0014
// end alternate branch 00001248-0000124C
fn00001248: // (misaligned)
0000124A FFEC .extension 0xFEC // unimplemented
0000124C 2F07 move.l -[A7], D7
0000124E 4267 clr.w -[A7]
00001250 42A7 clr.l -[A7]
00001252 42A7 clr.l -[A7]
00001254 4227 clr.b -[A7]
00001256 486E FFF8 pea.l [A6 - 0x8]
0000125A 303C 0706 move.w D0, 0x706
0000125E A816 syscall Pack8
00001260 3E1F move.w D7, [A7]+
00001262 4A47 tst.w D7
00001264 6644 bne +0x46 /* 000012AA */
00001266 2D7C 616C 6973 FFF0 move.l [A6 - 0x10], 0x616C6973 /* 'alis' */
0000126E 4267 clr.w -[A7]
00001270 42A7 clr.l -[A7]
00001272 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001276 486E FFEC pea.l [A6 - 0x14]
0000127A 7002 moveq.l D0, 0x02
0000127C A823 syscall AliasDispatch
0000127E 3E1F move.w D7, [A7]+
00001280 2D6E FFEC FFF4 move.l [A6 - 0xC], [A6 - 0x14]
00001286 4267 clr.w -[A7]
00001288 486E FFF8 pea.l [A6 - 0x8]
0000128C 42A7 clr.l -[A7]
0000128E 486E FFF0 pea.l [A6 - 0x10]
00001292 303C 0609 move.w D0, 0x609
00001296 A816 syscall Pack8
00001298 3E1F move.w D7, [A7]+
0000129A 206E FFEC movea.l A0, [A6 - 0x14]
0000129E A023 syscall DisposHandle/DisposeHandle
label000012A0:
000012A0 486E FFF8 pea.l [A6 - 0x8]
000012A4 4EBA FEF2 jsr [PC - 0x10E /* 00001198 */]
000012A8 588F addq.l A7, 4
label000012AA:
000012AA 2E1F move.l D7, [A7]+
label000012AC:
000012AC 4E5E unlink A6
000012AE 4E75 rts
000012B0 8E53 or.w D7, [A3]
000012B2 656E bcs +0x70 /* 00001322 */
000012B4 644F bcc +0x51 /* 00001305 */
000012B6 444F neg.w A7
000012B8 4354 chk.w D1, [A4]
000012BA 6F53 ble +0x55 /* 0000130F */
000012BC 656C bcs +0x6E /* 0000132A */
000012BE 6600 0000 bne +0x2 /* 000012C0 */
// begin alternate branch 000012C0-000012C6
label000012C0:
000012C0 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000012C2: // (misaligned)
000012C4 FFE8 .extension 0xFE8 // unimplemented
// end alternate branch 000012C0-000012C6
label000012C0: // (misaligned)
fn000012C2:
000012C2 4E56 FFE8 link A6, -0x0018
000012C6 2F07 move.l -[A7], D7
000012C8 486E FFF8 pea.l [A6 - 0x8]
000012CC 4EBA FDD2 jsr [PC - 0x22E /* 000010A0 */]
000012D0 3E00 move.w D7, D0
000012D2 4A47 tst.w D7
000012D4 588F addq.l A7, 4
000012D6 6656 bne +0x58 /* 0000132E */
000012D8 4267 clr.w -[A7]
000012DA 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
000012E0 2F3C 7175 6974 move.l -[A7], 0x71756974 /* 'quit' */
000012E6 486E FFF8 pea.l [A6 - 0x8]
000012EA 3F3C FFFF move.w -[A7], 0xFFFF
000012EE 42A7 clr.l -[A7]
000012F0 486E FFF0 pea.l [A6 - 0x10]
000012F4 303C 0B14 move.w D0, 0xB14
000012F8 A816 syscall Pack8
000012FA 3E1F move.w D7, [A7]+
000012FC 4A47 tst.w D7
000012FE 6620 bne +0x22 /* 00001320 */
00001300 4267 clr.w -[A7]
00001302 486E FFF0 pea.l [A6 - 0x10]
00001306 486E FFE8 pea.l [A6 - 0x18]
0000130A 4878 0021 push.l 0x21 /* '!' */
0000130E 4267 clr.w -[A7]
00001310 4878 0E10 push.l 0xE10
00001314 42A7 clr.l -[A7]
00001316 42A7 clr.l -[A7]
00001318 303C 0D17 move.w D0, 0xD17
0000131C A816 syscall Pack8
0000131E 3E1F move.w D7, [A7]+
label00001320:
00001320 4267 clr.w -[A7]
label00001322:
00001322 486E FFF0 pea.l [A6 - 0x10]
00001326 303C 0204 move.w D0, 0x204
label0000132A:
0000132A A816 syscall Pack8
0000132C 3E1F move.w D7, [A7]+
label0000132E:
0000132E 2E1F move.l D7, [A7]+
00001330 4E5E unlink A6
00001332 4E75 rts
00001334 8E53 or.w D7, [A3]
00001336 656E bcs +0x70 /* 000013A6 */
00001338 6451 bcc +0x53 /* 0000138B */
0000133A 7569 moveq.l D2, 0x69
0000133C 7454 moveq.l D2, 0x54
0000133E 6F53 ble +0x55 /* 00001393 */
00001340 656C bcs +0x6E /* 000013AE */
00001342 6600 0000 bne +0x2 /* 00001344 */
// begin alternate branch 00001344-0000134A
label00001344:
00001344 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00001346: // (misaligned)
00001348 FFCA .extension 0xFCA // unimplemented
// end alternate branch 00001344-0000134A
label00001344: // (misaligned)
fn00001346:
00001346 4E56 FFCA link A6, -0x0036
0000134A 48E7 0300 movem.l -[A7], D6,D7
0000134E 1E2E 000E move.b D7, [A6 + 0xE]
00001352 206E 0008 movea.l A0, [A6 + 0x8]
00001356 2D50 FFE2 move.l [A6 - 0x1E], [A0]
0000135A 2D68 0004 FFE6 move.l [A6 - 0x1A], [A0 + 0x4]
00001360 2D6E FFE2 FFEA move.l [A6 - 0x16], [A6 - 0x1E]
00001366 2D6E FFE6 FFEE move.l [A6 - 0x12], [A6 - 0x1A]
0000136C 2D6E FFEA FFF2 move.l [A6 - 0xE], [A6 - 0x16]
00001372 2D6E FFEE FFF6 move.l [A6 - 0xA], [A6 - 0x12]
00001378 486E FFD0 pea.l [A6 - 0x30]
0000137C A898 syscall GetPenState
0000137E 4A07 tst.b D7
00001380 6706 beq +0x8 /* 00001388 */
00001382 486E FFCA pea.l [A6 - 0x36]
00001386 AA19 syscall GetForeColor
label00001388:
00001388 A89E syscall PenNormal
0000138A 4A07 tst.b D7
0000138C 6714 beq +0x16 /* 000013A2 */
0000138E 426E FFFA clr.w [A6 - 0x6]
00001392 426E FFFC clr.w [A6 - 0x4]
00001396 426E FFFE clr.w [A6 - 0x2]
0000139A 486E FFFA pea.l [A6 - 0x6]
0000139E AA14 syscall RGBForeColor
000013A0 6006 bra +0x8 /* 000013A8 */
label000013A2:
000013A2 4878 0021 push.l 0x21 /* '!' */
label000013A6:
000013A6 A862 syscall ForeColor
label000013A8:
000013A8 486E FFF2 pea.l [A6 - 0xE]
000013AC A8A1 syscall FrameRect
label000013AE:
000013AE 486E FFF2 pea.l [A6 - 0xE]
000013B2 2F3C 0001 0001 move.l -[A7], 0x10001
000013B8 A8A9 syscall InsetRect
000013BA 486E FFEA pea.l [A6 - 0x16]
000013BE 2F3C 0001 0001 move.l -[A7], 0x10001
000013C4 A8A9 syscall InsetRect
000013C6 486E FFE2 pea.l [A6 - 0x1E]
000013CA 2F3C 0001 0001 move.l -[A7], 0x10001
000013D0 A8A9 syscall InsetRect
000013D2 3C2E FFF8 move.w D6, [A6 - 0x8]
000013D6 9C6E FFF4 sub.w D6, [A6 - 0xC]
000013DA CDEE 000C muls.w D6, [A6 + 0xC]
000013DE 48C6 ext.l D6
000013E0 8DFC 0064 divs.w D6, 0x64 /* 'd' */
000013E4 302E FFEC move.w D0, [A6 - 0x14]
000013E8 D046 add.w D0, D6
000013EA 3D40 FFF0 move.w [A6 - 0x10], D0
000013EE 4A07 tst.b D7
000013F0 671A beq +0x1C /* 0000140C */
000013F2 3D7C 4444 FFFA move.w [A6 - 0x6], 0x4444 /* 'DD' */
000013F8 3D7C 4444 FFFC move.w [A6 - 0x4], 0x4444 /* 'DD' */
000013FE 3D7C 4444 FFFE move.w [A6 - 0x2], 0x4444 /* 'DD' */
00001404 486E FFFA pea.l [A6 - 0x6]
00001408 AA14 syscall RGBForeColor
0000140A 6006 bra +0x8 /* 00001412 */
label0000140C:
0000140C 4878 0021 push.l 0x21 /* '!' */
00001410 A862 syscall ForeColor
label00001412:
00001412 486E FFEA pea.l [A6 - 0x16]
00001416 A8A2 syscall PaintRect
00001418 7001 moveq.l D0, 0x01
0000141A D06E FFF0 add.w D0, [A6 - 0x10]
0000141E 3D40 FFE4 move.w [A6 - 0x1C], D0
00001422 4A07 tst.b D7
00001424 671A beq +0x1C /* 00001440 */
00001426 3D7C CCCC FFFA move.w [A6 - 0x6], 0xCCCC
0000142C 3D7C CCCC FFFC move.w [A6 - 0x4], 0xCCCC
00001432 3D7C FFFF FFFE move.w [A6 - 0x2], 0xFFFF
00001438 486E FFFA pea.l [A6 - 0x6]
0000143C AA14 syscall RGBForeColor
0000143E 6006 bra +0x8 /* 00001446 */
label00001440:
00001440 4878 001E push.l 0x1E
00001444 A862 syscall ForeColor
label00001446:
00001446 486E FFE2 pea.l [A6 - 0x1E]
0000144A A8A2 syscall PaintRect
0000144C 486E FFD0 pea.l [A6 - 0x30]
00001450 A899 syscall SetPenState
00001452 4A07 tst.b D7
00001454 6708 beq +0xA /* 0000145E */
00001456 486E FFCA pea.l [A6 - 0x36]
0000145A AA14 syscall RGBForeColor
0000145C 6006 bra +0x8 /* 00001464 */
label0000145E:
0000145E 4878 0021 push.l 0x21 /* '!' */
00001462 A862 syscall ForeColor
label00001464:
00001464 4CDF 00C0 movem.l D6,D7, [A7]+
00001468 4E5E unlink A6
0000146A 4E75 rts
0000146C 8E55 or.w D7, [A5]
0000146E 7064 moveq.l D0, 0x64
00001470 6174 bsr +0x76 /* 000014E6 */
00001472 6550 bcs +0x52 /* 000014C4 */
00001474 726F moveq.l D1, 0x6F
00001476 6772 beq +0x74 /* 000014EA */
00001478 6573 bcs +0x75 /* 000014ED */
0000147A 7300 moveq.l D1, 0x00
0000147C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000147E-00001482
fn0000147E:
0000147E 4E56 FFF2 link A6, -0x000E
// end alternate branch 0000147E-00001482
fn0000147E: // (misaligned)
00001480 FFF2 .extension 0xFF2 // unimplemented
00001482 2F2E 000C move.l -[A7], [A6 + 0xC]
00001486 3F2E 0010 move.w -[A7], [A6 + 0x10]
0000148A 486E FFFE pea.l [A6 - 0x2]
0000148E 486E FFFA pea.l [A6 - 0x6]
00001492 486E FFF2 pea.l [A6 - 0xE]
00001496 A98D syscall GetDialogItem/GetDItem
00001498 206E 0008 movea.l A0, [A6 + 0x8]
0000149C 20AE FFF2 move.l [A0], [A6 - 0xE]
000014A0 216E FFF6 0004 move.l [A0 + 0x4], [A6 - 0xA]
000014A6 4E5E unlink A6
000014A8 4E75 rts
000014AA 8944 4974 pack D4, D4, 0x4974
000014AE 656D bcs +0x6F /* 0000151D */
000014B0 5265 addq.w -[A5], 1
000014B2 6374 bls +0x76 /* 00001528 */
000014B4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000014B6-000014BA
fn000014B6:
000014B6 4E56 FFF0 link A6, -0x0010
// end alternate branch 000014B6-000014BA
fn000014B6: // (misaligned)
000014B8 FFF0 .extension 0xFF0 // unimplemented
000014BA 4267 clr.w -[A7]
000014BC 3F3C 0001 move.w -[A7], 0x1
000014C0 486E FFF0 pea.l [A6 - 0x10]
label000014C4:
000014C4 4EBA 0060 jsr [PC + 0x60 /* 00001526 */]
000014C8 102E FFF9 move.b D0, [A6 - 0x7]
000014CC 4E5E unlink A6
000014CE 4E75 rts
000014D0 9043 sub.w D0, D3
000014D2 6F6C ble +0x6E /* 00001540 */
000014D4 6F72 ble +0x74 /* 00001548 */
000014D6 5144 subq.w D4, 8
000014D8 4973 5072 chk.w D4, [A3 + D5.w + 0x72]
000014DC 6573 bcs +0x75 /* 00001551 */
000014DE 656E bcs +0x70 /* 0000154E */
000014E0 7400 moveq.l D2, 0x00
000014E2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000014E4-000014E8
fn000014E4:
000014E4 4E56 FFF8 link A6, -0x0008
// end alternate branch 000014E4-000014E8
fn000014E4: // (misaligned)
fn000014E6:
000014E6 FFF8 .extension 0xFF8 // unimplemented
000014E8 2F07 move.l -[A7], D7
label000014EA:
000014EA 7E01 moveq.l D7, 0x01
000014EC 4EBA FFC8 jsr [PC - 0x38 /* 000014B6 */]
000014F0 4A00 tst.b D0
000014F2 671E beq +0x20 /* 00001512 */
000014F4 42A7 clr.l -[A7]
000014F6 AA2A syscall GetMainDevice
000014F8 2D5F FFFC move.l [A6 - 0x4], [A7]+
000014FC 206E FFFC movea.l A0, [A6 - 0x4]
00001500 2050 movea.l A0, [A0]
00001502 2D68 0016 FFF8 move.l [A6 - 0x8], [A0 + 0x16]
00001508 206E FFF8 movea.l A0, [A6 - 0x8]
0000150C 2050 movea.l A0, [A0]
0000150E 3E28 0020 move.w D7, [A0 + 0x20]
label00001512:
00001512 3007 move.w D0, D7
00001514 2E1F move.l D7, [A7]+
00001516 4E5E unlink A6
00001518 4E75 rts
0000151A 8842 or.w D4, D2
0000151C 6974 bvs +0x76 /* 00001592 */
0000151E 4465 neg.w -[A5]
00001520 7074 moveq.l D0, 0x74
00001522 6800 0000 bvc +0x2 /* 00001524 */
// begin alternate branch 00001524-00001528
label00001524:
00001524 0000 4A78 ori.b D0, 0x78 /* 'x' */
// end alternate branch 00001524-00001528
label00001524: // (misaligned)
fn00001526:
00001526 4A78 028E tst.w [0x0000028E /* ROM85 */]
// begin alternate branch 00001528-00001534
label00001528:
00001528 028E 6B22 303C andi.l A6, 0x6B22303C /* 'k\"0<' */
0000152E 0090 A346 2248 ori.l [A0], 0xA3462248
// end alternate branch 00001528-00001534
label00001528: // (misaligned)
0000152A 6B22 bmi +0x24 /* 0000154E */
0000152C 303C 0090 move.w D0, 0x90
00001530 A346 syscall GetOSTrapAddress, flags=3
00001532 2248 movea.l A1, A0
00001534 303C 009F move.w D0, 0x9F
00001538 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000153A B3C8 cmpa.l A1, A0
0000153C 6710 beq +0x12 /* 0000154E */
0000153E 225F movea.l A1, [A7]+
label00001540:
00001540 205F movea.l A0, [A7]+
00001542 301F move.w D0, [A7]+
00001544 2F09 move.l -[A7], A1
00001546 A090 syscall SysEnvirons
label00001548:
00001548 3F40 0004 move.w [A7 + 0x4], D0
0000154C 4E75 rts
label0000154E:
0000154E 206F 0004 movea.l A0, [A7 + 0x4]
00001552 303C 0001 move.w D0, 0x1
00001556 2248 movea.l A1, A0
00001558 6006 bra +0x8 /* 00001560 */
0000155A 0313 btst [A3], D1
0000155C 0B02 btst D2, D5
0000155E 0100 btst D0, D0
label00001560:
00001560 303C 0010 move.w D0, 0x10
00001564 E240 asr D0.w, 1
00001566 5340 subq.w D0, 1
label00001568:
00001568 4258 clr.w [A0]+
0000156A 51C8 FFFC dbf D0, -0x6 /* 00001568 */
0000156E 32BC 0002 move.w [A1], 0x2
00001572 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00001576 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
0000157C 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00001582 6742 beq +0x44 /* 000015C6 */
00001584 4A28 0008 tst.b [A0 + 0x8]
00001588 6E20 bgt +0x22 /* 000015AA */
0000158A 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00001590 4A78 028E tst.w [0x0000028E /* ROM85 */]
// begin alternate branch 00001592-0000159C
label00001592:
00001592 028E 6B30 337C andi.l A6, 0x6B30337C /* 'k03|' */
00001598 0001 0002 ori.b D1, 0x2
// end alternate branch 00001592-0000159C
label00001592: // (misaligned)
00001594 6B30 bmi +0x32 /* 000015C6 */
00001596 337C 0001 0002 move.w [A1 + 0x2], 0x1
0000159C 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
000015A0 6A24 bpl +0x26 /* 000015C6 */
000015A2 337C 0002 0002 move.w [A1 + 0x2], 0x2
000015A8 601C bra +0x1E /* 000015C6 */
label000015AA:
000015AA 4269 0002 clr.w [A1 + 0x2]
000015AE 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
000015B4 6E10 bgt +0x12 /* 000015C6 */
000015B6 6708 beq +0xA /* 000015C0 */
000015B8 337C 0004 0002 move.w [A1 + 0x2], 0x4
000015BE 6006 bra +0x8 /* 000015C6 */
label000015C0:
000015C0 337C 0003 0002 move.w [A1 + 0x2], 0x3
label000015C6:
000015C6 4269 0004 clr.w [A1 + 0x4]
000015CA 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000015D0 6E0A bgt +0xC /* 000015DC */
000015D2 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000015D6 5240 addq.w D0, 1
000015D8 1340 0007 move.b [A1 + 0x7], D0
label000015DC:
000015DC 4A78 028E tst.w [0x0000028E /* ROM85 */]
000015E0 6B0E bmi +0x10 /* 000015F0 */
000015E2 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
000015E8 6706 beq +0x8 /* 000015F0 */
000015EA 137C 0001 0008 move.b [A1 + 0x8], 0x1
label000015F0:
000015F0 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000015F6 6206 bhi +0x8 /* 000015FE */
000015F8 137C 0001 0009 move.b [A1 + 0x9], 0x1
label000015FE:
000015FE 1038 021E move.b D0, [0x0000021E /* KbdType */]
00001602 41FA FF5B lea.l A0, [PC - 0xA5 /* 0000155F, value 0x303C00 '0<\0' */]
00001606 323C 0004 move.w D1, 0x4
label0000160A:
0000160A B020 cmp.b D0, -[A0]
0000160C 57C9 FFFC dbeq D1, -0x6 /* 0000160A */
00001610 5241 addq.w D1, 1
00001612 3341 000A move.w [A1 + 0xA], D1
00001616 4A38 0291 tst.b [0x00000291 /* PortBUse */]
0000161A 6B18 bmi +0x1A /* 00001634 */
0000161C 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00001620 0201 000F andi.b D1, 0xF
00001624 0C01 0001 cmpi.b D1, 0x1
00001628 660A bne +0xC /* 00001634 */
0000162A 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
0000162E 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00001634:
00001634 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
0000163A 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
0000163E 6D44 blt +0x46 /* 00001684 */
00001640 4269 000E clr.w [A1 + 0xE]
00001644 323C 003C move.w D1, 0x3C /* '<' */
label00001648:
00001648 4267 clr.w -[A7]
0000164A 51C9 FFFC dbf D1, -0x6 /* 00001648 */
0000164E 204F movea.l A0, A7
00001650 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00001656 7008 moveq.l D0, 0x08
00001658 A260 syscall FSDispatch/HFSDispatch, flags=2
0000165A 6624 bne +0x26 /* 00001680 */
0000165C 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00001662 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001664 661A bne +0x1C /* 00001680 */
00001666 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
0000166C 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00001674 7001 moveq.l D0, 0x01
00001676 A260 syscall FSDispatch/HFSDispatch, flags=2
00001678 6606 bne +0x8 /* 00001680 */
0000167A 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00001680:
00001680 4FEF 007A lea.l A7, [A7 + 0x7A]
label00001684:
00001684 2049 movea.l A0, A1
00001686 225F movea.l A1, [A7]+
00001688 5C4F addq.w A7, 6
0000168A 3EBC EA84 move.w [A7], 0xEA84
0000168E 4ED1 jmp [A1]
fn00001690:
00001690 4E56 0000 link A6, 0
00001694 203C 0000 A89F move.l D0, 0xA89F
0000169A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000169C 2F08 move.l -[A7], A0
0000169E 203C 0000 A0AD move.l D0, 0xA0AD
000016A4 A346 syscall GetOSTrapAddress, flags=3
000016A6 B1DF cmpa.l A0, [A7]+
000016A8 670E beq +0x10 /* 000016B8 */
000016AA 202E 000C move.l D0, [A6 + 0xC]
000016AE A1AD syscall Gestalt, flags=1
000016B0 226E 0008 movea.l A1, [A6 + 0x8]
000016B4 2288 move.l [A1], A0
000016B6 6026 bra +0x28 /* 000016DE */
label000016B8:
000016B8 41FA 0036 lea.l A0, [PC + 0x36 /* 000016F0, value 0x76657273 'vers' */]
000016BC 303C EA51 move.w D0, 0xEA51
000016C0 222E 000C move.l D1, [A6 + 0xC]
label000016C4:
000016C4 B298 cmp.l D1, [A0]+
000016C6 6706 beq +0x8 /* 000016CE */
000016C8 4A98 tst.l [A0]+
000016CA 6712 beq +0x14 /* 000016DE */
000016CC 60F6 bra -0x8 /* 000016C4 */
label000016CE:
000016CE 43FA 0020 lea.l A1, [PC + 0x20 /* 000016F0, value 0x76657273 'vers' */]
000016D2 D3D0 add.l A1, [A0]
000016D4 4ED1 jmp [A1]
label000016D6:
000016D6 226E 0008 movea.l A1, [A6 + 0x8]
000016DA 2280 move.l [A1], D0
000016DC 4240 clr.w D0
label000016DE:
000016DE 3D40 0010 move.w [A6 + 0x10], D0
000016E2 4E5E unlink A6
000016E4 205F movea.l A0, [A7]+
000016E6 508F addq.l A7, 8
000016E8 4ED0 jmp [A0]
label000016EA:
000016EA 303C EA52 move.w D0, 0xEA52
000016EE 60EE bra -0x10 /* 000016DE */
000016F0 7665 moveq.l D3, 0x65
000016F2 7273 moveq.l D1, 0x73
000016F4 0000 0060 ori.b D0, 0x60 /* '`' */
000016F8 6D61 blt +0x63 /* 0000175B */
000016FA 6368 bls +0x6A /* 00001764 */
000016FC 0000 0064 ori.b D0, 0x64 /* 'd' */
00001700 7379 moveq.l D1, 0x79
00001702 7376 moveq.l D1, 0x76
00001704 0000 0088 ori.b D0, 0x88
00001708 7072 moveq.l D0, 0x72
0000170A 6F63 ble +0x65 /* 0000176F */
0000170C 0000 0092 ori.b D0, 0x92
00001710 6670 bne +0x72 /* 00001782 */
00001712 7520 moveq.l D2, 0x20
00001714 0000 009E ori.b D0, 0x9E
00001718 7164 moveq.l D0, 0x64
0000171A 2020 move.l D0, -[A0]
0000171C 0000 00E8 ori.b D0, 0xE8
00001720 6B62 bmi +0x64 /* 00001784 */
00001722 6420 bcc +0x22 /* 00001744 */
00001724 0000 011A ori.b D0, 0x1A
00001728 6174 bsr +0x76 /* 0000179E */
0000172A 6C6B bge +0x6D /* 00001797 */
0000172C 0000 0142 ori.b D0, 0x42 /* 'B' */
00001730 6D6D blt +0x6F /* 0000179F */
00001732 7520 moveq.l D2, 0x20
00001734 0000 0164 ori.b D0, 0x64 /* 'd' */
00001738 7261 moveq.l D1, 0x61
0000173A 6D20 blt +0x22 /* 0000175C */
0000173C 0000 0188 ori.b D0, 0x88
00001740 6C72 bge +0x74 /* 000017B4 */
00001742 616D bsr +0x6F /* 000017B1 */
label00001744:
00001744 0000 0188 ori.b D0, 0x88
00001748 0000 0000 ori.b D0, 0x0
0000174C 0000 0000 ori.b D0, 0x0
00001750 7001 moveq.l D0, 0x01
00001752 6082 bra -0x7C /* 000016D6 */
00001754 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00001758 7004 moveq.l D0, 0x04
0000175A 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 0000175C-0000176A
label0000175C:
0000175C 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
label00001764:
00001764 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 0000175C-0000176A
label0000175C: // (misaligned)
00001760 6712 beq +0x14 /* 00001774 */
00001762 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
label00001764: // (misaligned)
00001768 6604 bne +0x6 /* 0000176E */
0000176A 5240 addq.w D0, 1
0000176C 6006 bra +0x8 /* 00001774 */
label0000176E:
0000176E 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00001772 5C80 addq.l D0, 6
label00001774:
00001774 6000 FF60 bra -0x9E /* 000016D6 */
00001778 7000 moveq.l D0, 0x00
0000177A 3038 015A move.w D0, [0x0000015A /* SysVersion */]
0000177E 6000 FF56 bra -0xA8 /* 000016D6 */
label00001782:
00001782 7000 moveq.l D0, 0x00
label00001784:
00001784 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00001788 5240 addq.w D0, 1
0000178A 6000 FF4A bra -0xB4 /* 000016D6 */
0000178E 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00001794 6738 beq +0x3A /* 000017CE */
00001796 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
0000179C 6734 beq +0x36 /* 000017D2 */
fn0000179E:
0000179E 204F movea.l A0, A7
000017A0 F280 .extension 0x280 // unimplemented
000017A2 0000 F327 ori.b D0, 0x27 /* '\'' */
000017A6 3017 move.w D0, [A7]
000017A8 2E48 movea.l A7, A0
000017AA 0C40 1F18 cmpi.w D0, 0x1F18
000017AE 6716 beq +0x18 /* 000017C6 */
000017B0 0C40 3F18 cmpi.w D0, 0x3F18
label000017B4:
000017B4 6710 beq +0x12 /* 000017C6 */
000017B6 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
000017BA 670E beq +0x10 /* 000017CA */
000017BC 0C40 1F38 cmpi.w D0, 0x1F38
000017C0 6708 beq +0xA /* 000017CA */
000017C2 7000 moveq.l D0, 0x00
000017C4 600E bra +0x10 /* 000017D4 */
label000017C6:
000017C6 7001 moveq.l D0, 0x01
000017C8 600A bra +0xC /* 000017D4 */
label000017CA:
000017CA 7002 moveq.l D0, 0x02
000017CC 6006 bra +0x8 /* 000017D4 */
label000017CE:
000017CE 7003 moveq.l D0, 0x03
000017D0 6002 bra +0x4 /* 000017D4 */
label000017D2:
000017D2 7000 moveq.l D0, 0x00
label000017D4:
000017D4 6000 FF00 bra -0xFE /* 000016D6 */
000017D8 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000017DE 6E1C bgt +0x1E /* 000017FC */
000017E0 303C A89F move.w D0, 0xA89F
000017E4 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000017E6 2408 move.l D2, A0
000017E8 203C 0000 AB03 move.l D0, 0xAB03
000017EE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000017F0 203C 0000 0100 move.l D0, 0x100
000017F6 B488 cmp.l D2, A0
000017F8 6606 bne +0x8 /* 00001800 */
000017FA 600A bra +0xC /* 00001806 */
label000017FC:
000017FC 7000 moveq.l D0, 0x00
000017FE 6006 bra +0x8 /* 00001806 */
label00001800:
00001800 203C 0000 0200 move.l D0, 0x200
label00001806:
00001806 6000 FECE bra -0x130 /* 000016D6 */
0000180A 1038 021E move.b D0, [0x0000021E /* KbdType */]
0000180E 41FA 0016 lea.l A0, [PC + 0x16 /* 00001826, value 0x3130B02 */]
00001812 2248 movea.l A1, A0
label00001814:
00001814 1218 move.b D1, [A0]+
00001816 6700 FED2 beq -0x12C /* 000016EA */
0000181A B200 cmp.b D1, D0
0000181C 66F6 bne -0x8 /* 00001814 */
0000181E 91C9 sub.l A0, A1
00001820 2008 move.l D0, A0
00001822 6000 FEB2 bra -0x14C /* 000016D6 */
00001826 0313 btst [A3], D1
00001828 0B02 btst D2, D5
0000182A 0106 btst D6, D0
0000182C 0704 btst D4, D3
0000182E 0508 btst A0, D2
00001830 0900 btst D0, D4
00001832 7000 moveq.l D0, 0x00
00001834 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00001838 6B16 bmi +0x18 /* 00001850 */
0000183A 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
0000183E 0201 000F andi.b D1, 0xF
00001842 0C01 0001 cmpi.b D1, 0x1
00001846 6608 bne +0xA /* 00001850 */
00001848 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
0000184C 1028 0007 move.b D0, [A0 + 0x7]
label00001850:
00001850 6000 FE84 bra -0x17A /* 000016D6 */
00001854 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
0000185A 6D16 blt +0x18 /* 00001872 */
0000185C 7000 moveq.l D0, 0x00
0000185E 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00001862 0C00 0001 cmpi.b D0, 0x1
00001866 670C beq +0xE /* 00001874 */
00001868 0C00 0003 cmpi.b D0, 0x3
0000186C 6D04 blt +0x6 /* 00001872 */
0000186E 5340 subq.w D0, 1
00001870 6002 bra +0x4 /* 00001874 */
label00001872:
00001872 7000 moveq.l D0, 0x00
label00001874:
00001874 6000 FE60 bra -0x19E /* 000016D6 */
00001878 303C A89F move.w D0, 0xA89F
0000187C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000187E 2408 move.l D2, A0
00001880 203C 0000 A88F move.l D0, 0xA88F
00001886 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00001888 2038 0108 move.l D0, [0x00000108 /* MemTop */]
0000188C B488 cmp.l D2, A0
0000188E 670A beq +0xC /* 0000189A */
00001890 598F subq.l A7, 4
00001892 3F3C 0016 move.w -[A7], 0x16
00001896 A88F syscall OSDispatch
00001898 201F move.l D0, [A7]+
label0000189A:
0000189A 6000 FE3A bra -0x1C4 /* 000016D6 */
fn0000189E:
0000189E 225F movea.l A1, [A7]+
000018A0 101F move.b D0, [A7]+
000018A2 205F movea.l A0, [A7]+
000018A4 6606 bne +0x8 /* 000018AC */
000018A6 7009 moveq.l D0, 0x09
000018A8 A260 syscall FSDispatch/HFSDispatch, flags=2
000018AA 6004 bra +0x6 /* 000018B0 */
label000018AC:
000018AC 7009 moveq.l D0, 0x09
000018AE A660 syscall FSDispatch/HFSDispatch, flags=6
label000018B0:
000018B0 3E80 move.w [A7], D0
000018B2 4ED1 jmp [A1]
fn000018B4:
000018B4 225F movea.l A1, [A7]+
000018B6 101F move.b D0, [A7]+
000018B8 205F movea.l A0, [A7]+
000018BA 6606 bne +0x8 /* 000018C2 */
000018BC 700A moveq.l D0, 0x0A
000018BE A260 syscall FSDispatch/HFSDispatch, flags=2
000018C0 6004 bra +0x6 /* 000018C6 */
label000018C2:
000018C2 700A moveq.l D0, 0x0A
000018C4 A660 syscall FSDispatch/HFSDispatch, flags=6
label000018C6:
000018C6 3E80 move.w [A7], D0
000018C8 4ED1 jmp [A1]
fn000018CA:
000018CA 206F 0004 movea.l A0, [A7 + 0x4]
000018CE 202F 0008 move.l D0, [A7 + 0x8]
000018D2 4267 clr.w -[A7]
000018D4 A9EE syscall Pack7/DecStr68K
000018D6 205F movea.l A0, [A7]+
000018D8 504F addq.w A7, 8
000018DA 4ED0 jmp [A0]
fn000018DC:
000018DC 4E56 0000 link A6, 0
000018E0 594F subq.w A7, 4
000018E2 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000018E8 3F2E 000A move.w -[A7], [A6 + 0xA]
000018EC A9A0 syscall GetResource
000018EE 226E 000C movea.l A1, [A6 + 0xC]
000018F2 4211 clr.b [A1]
000018F4 201F move.l D0, [A7]+
000018F6 6722 beq +0x24 /* 0000191A */
000018F8 2040 movea.l A0, D0
000018FA 2050 movea.l A0, [A0]
000018FC 3018 move.w D0, [A0]+
000018FE 322E 0008 move.w D1, [A6 + 0x8]
00001902 6716 beq +0x18 /* 0000191A */
00001904 B240 cmp.w D1, D0
00001906 6212 bhi +0x14 /* 0000191A */
00001908 7000 moveq.l D0, 0x00
label0000190A:
0000190A 5341 subq.w D1, 1
0000190C 6706 beq +0x8 /* 00001914 */
0000190E 1018 move.b D0, [A0]+
00001910 D1C0 add.l A0, D0
00001912 60F6 bra -0x8 /* 0000190A */
label00001914:
00001914 1010 move.b D0, [A0]
00001916 5240 addq.w D0, 1
00001918 A02E syscall BlockMove/BlockMoveData
label0000191A:
0000191A 4E5E unlink A6
0000191C 205F movea.l A0, [A7]+
0000191E 508F addq.l A7, 8
00001920 4ED0 jmp [A0]